7!: Space

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Dictionary

Space | 7!:

See also`9!:20` and`9!:21` .

`7!:0 y` | Current. Space currently in use.
`7!:1 y` | Session. Total space used since start of session.
`7!:2 y` | Execute. Space required to execute sentence`y`.`` For example:
       7!:2 ',/x' [ x=: 3000 2 5$'kerygmatic'
    33888
`7!:3 y` | Free Space. Information on the state of the J memory manager, currently a 2-column table of the block sizes and number of free blocks for each size. The definition of the result of`7!:3` ,`` as well as the availability of`7!:3` itself, are subject to change. For example:
       7!:3 ''
       32  950
       64 1135
      128  554
      256  157
      512   74
     1024   40
`7!:5 y` | Space. The space in bytes used by the named objects`y` (noun, verb, adverb, or conjunction). For example:
       Hilbert=: % @: >: @: (+/~) @: i.

       7!:5 <'Hilbert'
    896
       7!:5 <'name_without_value'
    |value error: name_without_value
    |       7!:5<'name_without_value'

       sp=: 3 : '7!:5 <''y.'''
       sp 'chiaroscuro'
    64
       sp i.1000
    4096
       sp o.i.1000
    8192

       x=: o.y=: i.1000
       7!:5 ;:'x y Hilbert'
    8192 4096 896
`7!:6 y` | Locale Space. The space in bytes used by the locales named in`y` , including the space for the names as well as values in the locale, locale name, path, hash table, and global symbol table entries. For example:
       7!:6 ;:'base z 0'
    8256 198880 2168
       7!:6 <'12345'
    |locale error
    |       7!:6<'12345'
       7!:6 <'nonexistent'
    |locale error
    |       7!:6<'nonexistent'

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Dictionary