Instructions
- ADDRESS - Specify host address for commands
- ARG - Retreives arguments strings
- BREAK - Exit a DO loop or Interpreted string
- CALL - Call an internal or external function
- DO .. END - Do Loop (Counted or conditional)
- DROP - Reset variables as uninitialised
- ECHO - Display expression result on console
- ELSE - Alternative branch of an IF statement
- END - End a Do or Select block
- EXIT - Stops a program
- IF - Conditional block
- INTERPRET - Treat expression as a statement
- ITERATE - Terminate current iteration in DO and start next
- LEAVE - Immediate exit from DO loop
- NOP - No Operation (use with IF)
- NUMERIC - Sets options related to numeic precision and format
- OPTIONS - Set various internal defaults
- OTHERWISE - Alternative instruction of a SELECT block
- PARSE - Extract substrings from string and assign to variables
- PROCEDURE - Create new function or subprogram
- PULL - Reads string from input console
- PUSH - Prepare stream of data into STDIN stream
- QUEUE - Prepare stream of data in STDIN using FIFO order
- RETURN - Leave a function and return to main program and return a value
- SAY - Display value of expression on console
- SELECT - Runs instructions if WHEN condition is true, or OTHERWISE
- clause and ENDs
- SHELL - As ADDRESS
- SIGNAL - Control state of internal interrupt flags
- WHEN - Part of SELECT block, if condition true THEN statements are run
Functions
- ABBREV() - Returns 1 or 0 if string2 is an abbrev of string1
- ABS() - Absolute value
- ADDLIB() - Adds function library or host to library list
- ADDRESS() - Returns current host address string
- ARG() - Returns number of arguements supplied in current env.
- B2C() - Binary to character
- BITAND() - Bit wise AND
- BITCHG() - Bit wise change
- BITCLR() - Bit wise clear
- BITCOMP() - Bit wise compare
- BITOR() - Bit wise OR
- BITSET() - Bit wise set
- BITTST() - Bit wise test
- BITXOR() - Bit wise Exclusive OR
- C2B() - Character to binary
- C2D() - Character to decimal
- C2X() - Character to hex
- CENTER() - Center string with in a number of characters
- CENTRE() - See CENTER
- CLOSE() - Close file
- COMPARE() - Compare two strings
- COMPRESS() - Remove leading, trailing, embedded blanks
- COPIES() - Produces multiple copies of string
- D2C() - Decimal to ASCII character
- D2X() - Decimal to hex
- DATATYPE() - Tests string and returns type of string
- DATE() - Current date
- DELSTR() - Delete substring from string
- DELWORD() - Delete a substring in words
- DIGITS() - Return current NUMERIC setting
- EOF() - End of file
- ERRORTEXT() - Returns error message from error code
- EXISTS() - Test if file exists
- EXPORT() - Copies data from string to allocated memory
- FIND() - Locates substring and returns word number
- FORM() - Returns current NUMERIC FORM setting
- FREESPACE() - Returns block of memory in interpreter`s memory pool
- FUZZ() - Returns current NUMERIC FUZZ setting
- GETCLIP() - Returns value of entry in Clip List
- GETSPACE() - Allocates a block of memory
- HASH() - Returns hash attribute of a string
- IMPORT() - Create a string from data from given address
- INDEX() - Searches for a string in another string
- INSERT() - Insert a new string into old string
- LASTPOS() - Searches backwards for first occurance of string
- LEFT() - Returns left mose string
- LENGTH() - Returns length of string
- LINES() - Returns no. of lines queued or typed ahead
- MAX() - Returns maximum of given values
- MIN() - Returns minimum of given values
- OPEN() - Opens an external file
- OVERLAY() - Overlays new string onto old string
- POS() - Searches for first occurance of pattern in string
- PRAGMA() - Change attributes of system environment
- RANDOM() - Returns pseudo-random number
- RANDU() - Returns pseodo-random number between 0 and 1
- READCH() - Reads number of characters from file
- READLN() - Read characters from file until LF found
- REMLIB() - Remove an entry from Library List
- REVERSE() - Reverse sequence of characters
- RIGHT() - Return right most characters of string
- SEEK() - Move to new position in file
- SETCLIP() - Add name-value pair to Clip List
- SHOW() - Returns names in resource list specified by option
- SIGN() - Returns sign of value
- SOURCELINE() - Returns test for specified line in program or number of lines
- SPACE() - Reformat string with number of n spaces between words
- STORAGE() - Returns system memory or copy string to memory
- STRIP() - Removes leading, trailing or both spaces from string
- SUBSTR() - Returns a substring or a string
- SUBWORD() - Returns a substring of words in a string
- SYMBOL() - Test if name argument is a valid ARexx symbol
- TIME() - Returns current time
- TRACE() - Sets tracing mode
- TRANSLATE() - Constructs a translation table and uses it to replace
characters in a string.
- TRIM() - Removes trailing spaces from a string
- TRUNC() - Returns integer part of value (optionally to number of
decimal places)
- UPPER() - Converts string to uppercase
- VALUE() - Returns value of a symbol or character
- VERIFY() - Returns index of first char in string which is not
in the list argument string or vice versa if MATCH spec.
- WORD() - Returns nth word in string
- WORDINDEX() - Returns position of nth word in a string
- WORDLENGTH() - Returns length of nth word in string
- WORDS() - Returns number of words in string
- WRITECH() - Writes string to a file
- WRITELN() - Writes string to a file with a LF added
- X2C() - Converts hex to packed character
- X2D() - Converts hex to decimal
- XRANGE() - Generates a string between start and end values
RexxSupport.Library Functions
- ALLOCMEM() - Allocates a block of memory
- CLOSEPORT() - Closes a message port
- FREEMEM() - Releases a block of Allocated memory
- GETARG() - Extracts command, function name or string from message pkt
- OPENPORT() - Creates a public message port
- REPLY() - Returns a msg pkt to the sender with a value
- SHOWDIR() - Returns contents of directory as strings of names
- SHOWLIST() - Returns a string of names depending on option
- STATEF() - Returns a string containing file information
- WAITPKT() - Waits for a msg pkt from port
Further Arexx information available from CBM Arexx User`s Guide and other Arexx
books and Guides incl. Aminet.
|