System Function AV

From NARS2000
Revision as of 23:14, 21 February 2013 by Paul Robinson (talk | contribs)
Jump to navigationJump to search

⎕AV - Atomic Vector

⎕TS is an ISO 13751 standard niladic system function which

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'.

System Variables (A value may be assigned to these except for ⎕DM)
ALX CT DM DT ELX FC FEATURE FPC IC IO
LR LX PP PR PW RL SA WSID
Niladic System Functions (a value cannot be assigned to these)
A AV EM ET LC NNAMES NNUMS SI SYSID SYSVER
T TC TCBEL TCBS TCESC TCFF TCHT TCLF TCNL TCNUL
TS WA
Monadic or dyadic system functions (a value cannot be assigned to these)
AT CR DC DFT DL DR EA EC ERROR ES
EX FMT FX MF NAPPEND NC NCREATE NERASE NINFO NL
NLOCK NREAD NRENAME NREPLACE NRESIZE NSIZE NTIE NUNTIE STOP TF
TRACE UCS VR
Note that quad functions and variables (except for the ⎕A family of functions) are case insensitive