System Function AV

From NARS2000
Revision as of 03:07, 4 November 2008 by Sudleyplace (talk | contribs) (New page: <table border="1" cellpadding="5" cellspacing="0" rules="none" summary=""> <tr> <td> <table border="0" cellpadding="5" cellspacing="0" summary=""> <tr> <td valign="top"><ap...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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'.