System Function AV

From NARS2000
Jump to: navigation, search
Z←⎕AV returns the Atomic Vector for the NARS2000 system.
Z is a character vector with 216 (65,536) elements.


Because NARS2000 is based upon Unicode (i.e., UCS-2), its Atomic Vector has one element for each possible 16-bit character value. Moreover, the elements of the Atomic Vector are ordered such that, in index-origin zero, ((⌈2⍟⍴⎕AV)⍴2)⊤⎕AV⍳'X' gives the bit representation of 'X'.

Personal tools