Special variables: Difference between revisions

Content deleted Content added
→‎{{header|Icon}} and {{header|Unicon}}: graphcs kw and fail indicators
Line 35:
# G - Icon or Unicon with Graphics
#
&allocated # integer(*) - report memory useallocated in total and by storage regions
&ascii # cset - ASCII character set
&clock # string - time of day
&col # integer(=G) - column location of pointer
&collections # integer(*) - garbage collection activity in total and by storage region
&column # integer(U) - source code column
&control # null(?G) - control key state
Line 49:
&dump # integer(=) - termination dump
&e # real - natural log e
&error # integer(=) - enable/disable error conversion/fail on error
&errornumbererrno # integer(?) - runtimevariable containing error codenumber from previous posix command
&errortext errornumber # stringinteger(?) - runtimeerror number of last error messageconverted to failure
&errortext # string(?) - error message of last error converted to failure
&errorvalue # any(?) - offendingerroneous value of last error converted to failure
&errout # file - standard error file
&eventcode # integer(=U) - program execution event in monitored program
&eventsource # co-expression(=U) - source of programevents executionin eventsmonitoring program
&eventvalue # any(=U) - programvalue executionfrom valueevent in monitored program
&fail # none - expressionalways failurefails
&features # string(*) - platformidentifying features in this version of Icon/Unicon
&file # string - current source file
&host # string - host machine name
Line 78 ⟶ 79:
&null # null - null value
&output # file - standard output file
&pick # string (U) - variable containing the result of 3D selection
&phi # real - golden ratio
&pos # integer(=) - string scanning position
Line 90 ⟶ 92:
&shift # null(?G) - shift key state
&source # co-expression - invoking co-expression
&storage # integer(*) - memory in use in each region
&subject # string - string scanning subject
&syserr # integer - halt on system error
&time # integer(=) - elapsed time in milliseconds
&trace # integer(=) - trace program
&ucase # cset - upper case letters
&version # string - version
&window # window(=G) - standardthe current graphics rendering window
&x # integer(=G) - pointer horizontal position
&y # integer(=G) - pointer vertical position</lang>
# keywords may also fail if the corresponding feature is not present.
# Other variants of Icon (e.g. MT-Icon) will have different mixes of keywords.</lang>
 
=={{header|J}}==