Program Structure, Declaration and Assignment
CLASS | Declare a class module |
CLEAR | Set all local variables to zero |
END | Terminate program or statement group |
EQUATE | Define a symbolic name for a constant or matrix element |
FUNCTION | Declare function name and arguments |
MAT | Matrix initialisation or copy |
PRIVATE | Declare private variables in a local subroutine or a class module |
PUBLIC | Declare public properties in a class module |
VOID | Discard the result of evaluating an expression |
Program Control
ABORT | Abort to command prompt |
ABORTE | Abort to command prompt with Pick style message handling |
ABORTM | Abort to command prompt with Information style message handling |
CALL | Call an external subroutine |
CASE | Perform statements according to multiple conditions |
CHAIN | Terminate program and execute a command |
CONTINUE | Continue next iteration of a loop |
GOSUB | Enter an internal subroutine |
LOCAL | Declares an internal subroutine or function that has private local variables |
NAP | Suspend program for a short period |
ON GOSUB | Jump to one of a list of labels selected by value |
ON GOTO | Enter one of a list of internal subroutines selected by value |
PAUSE | Pause execution until awoken by another process |
RETURN | Return from program or subroutine |
RETURN TO | Return from program or subroutine to a specific label |
SLEEP | Suspend program to / for given time |
STOPE | Terminate program with Pick style message handling |
STOPM | Terminate program with Information style message handling |
SUBR() | Call a subroutine as a function |
UNTIL | Leave loop if condition is met |
WHILE | Leave loop unless condition is met |
WAKE | Restart execution of a process on a PAUSE |
Mathematical and Logical Functions
ABSS() | Multi-valued absolute value |
ANDS() | Multi-valued logical AND |
BITOR() | Bitwise logical OR operation |
BITXOR() | Bitwise logical exclusive OR operation |
EQS() | Multi-valued equality test |
GES() | Multi-valued greater than or equal to test |
GTS() | Multi-valued greater than test |
IFS() | Multi-valued conditional expression |
INT() | Truncate value to integer |
LES() | Multi-valued less than test |
LTS() | Multi-valued less than or equal to test |
MAX() | Returns the greater of two values |
MAXIMUM() | Find the greatest value in a dynamic array |
MIN() | Returns the lesser of two values |
MINIMUM() | Find the lowest value in a dynamic array |
MOD() | Modulus value from division |
MODS() | Multi-valued modulus value from division |
NEGS() | Multi-valued arithmetic inverse |
NES() | Multi-valued inequality test |
NOTS() | Multi-valued logical NOT |
ORS() | Multi-valued logical OR |
PWR() | Raise value to power |
RDIV() | Rounded integer division |
REM() | Remainder value from division |
REUSE() | Reuse element of numeric arrays in mathematical functions |
RND() | Generate random number |
SUM() | Sum lowest level elements of a numeric array |
String Handling
ASCII() | Convert an EBCDIC string to ASCII |
ALPHA() | Test if string holds only alphabetic characters |
CATS() | Concatenate elements of a dynamic array |
CHAR() | Get ASCII character for a given collating sequence value |
COL1() | Start of substring position from FIELD() |
COL2() | End of substring position from FIELD() |
CONVERT | Substitute characters with replacements |
CONVERT() | Substitute characters with replacements |
COUNT() | Count occurrences of substring in string |
CROP() | Remove redundant mark characters |
DCOUNT() | Count delimited substrings in string |
DPARSE | Split elements of a delimited string |
DPARSE.CSV | Split elements of a CSV format delimited string |
DEL | Delete a field, value or subvalue |
DELETE() | Delete a field, value or subvalue |
EBCDIC() | Convert an ASCII string to EBCDIC |
FIND | Find a string in a dynamic array element |
FINDSTR | Find a substring in a dynamic array element |
FOLD() | Break a string into sections, splitting at spaces where possible |
FOLDS() | Multi-valued variant of FOLD() |
ICONVS() | Perform input conversion on a dynamic array |
INDEX() | Locate occurrence of substring within a string |
INDEXS() | Multi-valued equivalent of INDEX() |
INS | Insert a field, value or subvalue |
INSERT() | Insert a field, value or subvalue |
LEN() | Return length of a string |
LENS() | Multi-valued equivalent of LEN() |
LISTINDEX() | Return position of an item in a delimited list |
LOCATE | Locate string in dynamic array |
LOWER() | Convert delimiters to lower level |
MATBUILD | Build a dynamic array from matrix elements |
MATPARSE | Break a dynamic array into matrix elements |
NUM() | Test if string holds a numeric value |
NUMS() | Multi-valued variant of NUM() |
OCONVS() | Perform output conversion on a dynamic array |
QUOTE() | Enclose a string in double quotes |
RAISE() | Convert delimiters to higher level |
REMOVE | Remove an item from a dynamic array |
REMOVE() | Remove an item from a dynamic array |
SEQ() | Get collating sequence value for a given ASCII character |
SETREM | Set remove pointer position |
SOUNDEX() | Form a soundex code value for a string |
SPLICE() | Concatenates elements of two dynamic arrays, inserting a string between the items. |
SQUOTE() | Enclose a string in single quotes |
STR() | Create a string from a repeated substring |
STRS() | Multi-valued variant of STR() |
SWAPCASE() | Invert case of alphabetic characters in a string |
TRIM() | Trim characters from string |
TRIMB() | Trim spaces from back of string |
TRIMF() | Trim spaces from front of string |
TRIMS() | Multi-valued variant of TRIM() |
VSLICE() | Extract a value slice from a dynamic array |
File Handling
CLEARFILE | Clear a file, deleting all records and releasing disk space |
CLOSESEQ | Close a record opened for sequential access |
COMMIT | Commit transaction updates |
CREATE | Create an empty sequential file record |
DELETE | Delete record from a file |
DELETEU | Delete record from a file preserving locks |
DIR() | Return the contents of a directory |
FILE | Open a file and access data by field name |
FLUSH | Flush sequential file data to disk |
MARK.MAPPING | Control field mark translation in directory files |
MATREAD | Read a record, parsing into a matrix |
MATREADCSV | Read a CSV format text item into a matrix |
MATREADL | Read a record setting a read lock, parsing into a matrix |
MATREADU | Read a record setting an update lock, parsing into a matrix |
MATWRITE | Write a record from matrix elements |
MATWRITEU | Write a record from matrix elements, retaining any lock |
NOBUF | Turn off buffering for a record opened using OPENSEQ |
OPENSEQ | Open a record for sequential access |
OUTERJOIN() | Fetch data from a file using an "outer join" |
READ | Read a record from a file |
READBLK | Read bytes from a sequential file |
READL | Read a record from a file, setting a read lock |
READU | Read a record from a file, setting an update lock |
READV | Read a field from a record in a file |
READVL | Read a field from a record in a file, setting a read lock |
READVU | Read a field from a record in a file, setting an update lock |
RELEASE | Release record or file locks |
SEEK | Position a sequential file |
STATUS | Returns a dynamic array of information about an open file |
TIMEOUT | Sets a timeout for READBLK and READSEQ |
WEOFSEQ | Write end of file position to sequential file |
WRITE | Write a record to a file |
WRITEBLK | Write bytes to a sequential file |
WRITECSV | Write CSV format data to a sequential file |
WRITESEQF | Write to sequential file, flushing to disk |
WRITEU | Write a record to a file, retaining any lock |
WRITEV | Write a field to a record in a file |
WRITEVU | Write a field to a record in a file, retaining any lock |
Printer, Keyboard and Display Handling
@(x,y) | Terminal cursor movement and control |
BINDKEY() | Set, remove, query, save or restore key bindings |
BREAK | Enable or disable break key handling |
DATA | Save text in DATA queue |
ECHO | Enable or disable input echo |
ERRMSG | Display a Pick style message from the ERRMSG file |
GETPU | Get a characteristic of a print unit |
HUSH | Suppress or enable display output |
INPUT | Input a string from the keyboard or data queue |
INPUT @ | Input a string from the keyboard or data queue |
INPUTFIELD | Input a string with function key handling |
KEYCODE() | Input a single keystroke from the keyboard with terminfo translation |
KEYEDIT | Define editing keys for INPUT @ |
KEYEXIT | Define exit keys for INPUT @ |
KEYIN() | Input a single keystroke from the keyboard |
KEYINC() | Input a single keystroke from the keyboard with case inversion |
KEYINR() | Input a single keystroke from the keyboard in raw mode (no internal processing) |
KEYTRAP | Define trap keys for INPUT @ |
PRINT | Output to a logical print unit |
PROMPT | Set the input prompt character |
SETPU | Set a characteristic of a print unit |
TERMINFO() | Retrieve information from the terminfo database |
TTYGET() | Get current terminal mode settings |
Select Lists and Alternate Key Indices
FORMLIST | Create a select list from a dynamic array |
INDICES() | Return information about alternate key indices |
READLIST | Save a select list in a dynamic array |
READNEXT | Read a record id from a select list |
SAVELIST | Save a select list in the $SAVEDLISTS file |
SELECT | Build a select list of all records in an open file |
SELECTE | Transfer select list 0 to a select list variable |
SELECTINDEX | Build a select list from an alternate key index |
SELECTLEFT | Scan left through an alternate key index |
SELECTN | Build a numbered select list of all records in an open file |
SELECTV | Build a select list variable of all records in an open file |
SETLEFT | Set alternate key index scan position to leftmost |
SETRIGHT | Set alternate key index scan position to rightmost |
SSELECT | Build a sorted select list of all records in an open file |
Socket Interface
Miscellaneous
ARG() | Returns an argument variable based on its argument list position |
ARG.COUNT() | Returns the number of arguments passed into a subroutine |
CONFIG() | Returns the value of a configuration parameter |
DATE() | Return the current date as a day number |
DTX() | Convert a number to hexadecimal |
ENV() | Retrieve an operating system environment variable |
GETNLS() | Get national language support parameter value |
INMAT() | Return status of matrix operations |
LOGMSG | Add an entry to the system error log |
OBJINFO() | Returns information about an object variable |
OS.ERROR() | Return operating system error information |
PRECISION | Set number of decimal places in numeric conversion |
PROCREAD | Read data from the PROC primary input buffer |
PROCWRITE | Write data to the PROC primary input buffer |
REMARK | Alternative syntax for comments |
SENTENCE() | Returns the command line that started the current program |
SET.ARG | Sets an argument variable based on its argument list position |
SETNLS() | Set national language support parameter value |
STATUS() | Return status from previous operation |
TCLREAD | Returns the sentence that started the current program |
XTD() | Convert a hexadecimal number |
|