The OS/2 Procedures Language 2/REXX
Getting Started in REXX
Writing a REXX Procedure
Using Fundamental REXX Elements
Comments
Strings
Instructions
OS/2 Commands
Assignments
Labels
Working with Variables and Arithmetic
Variables
Value
Working with Arithmetic
Writing a REXX Arithmetic Procedure
REXX Features
Making Decisions(IF THEN)
The ELSE Instruction
SELECT, END, WHEN, OTHERWISE, and NOP Instructions
True and False Operators
The Logical Operators, NOT, AND, OR
Automating Repetitive Tasks - Using Loops
Repetitive Loops
Conditional Loops
Getting Out of Loops
Parsing Words
Advanced REXX Functions
Functions
DATATYPE( )
SUBSTR( )
CALL
REXX.CMD File Commands
Error Messages
PMREXX and REXXTRY
Starting the PMREXX Program
The PMREXX Trace Function
The REXXTRY Program
REXX Utility Functions (RexxUtil)
RxMessageBox
SysCls
SysCopyObject, SysCreateShadow, and SysMoveObject
SysCreateObject
SysCurPos
SysCurState
SysDeregisterObjectClass
SysDestroyObject
SysDriveInfo
SysDriveMap
SysDropFuncs
SysFileDelete
SysFileTree
SysFileSearch
SysGetEA
SysGetKey
SysGetMessage
SysIni
SysMkDir
SysOpenObject
SysOS2Ver
SysPutEA
SysQueryClassList
SysRegisterObjectClass
SysRmDir
SysSaveObject
SysSearchPath
SysSetIcon
SysSetObjectData
SysSleep
SysTempFileName
SysTextScreenRead
SysTextScreenSize
SysWaitNamedPipe
Keyword Instructions
ADDRESS
ARG
CALL
DO
DROP
EXIT
IF
INTERPRET
ITERATE
LEAVE
NOP
NUMERIC
OPTIONS
PARSE
PROCEDURE
PULL
PUSH
QUEUE
RETURN
SAY
SELECT
SIGNAL
TRACE
Functions
ABBREV
ABS (Absolute Value)
ADDRESS
API Functions
ARG
BEEP
BITAND
BITOR
BITXOR
B2X (Binary to Hexadecimal)
CENTER/CENTRE
CHARIN
CHAROUT
CHARS
COMPARE
CONDITION
COPIES
C2D (Character to Decimal)
C2X (Character to Hexadecimal)
DATATYPE
DATE
DELSTR (Delete String)
DELWORD
DIGITS
D2C (Decimal to Character)
D2X (Decimal to Hexadecimal)
DIRECTORY
ERRORTEXT
ENDLOCAL
FILESPEC
FORM
FORMAT
FUZZ
INSERT
LASTPOS
LEFT
LENGTH
LINEIN
LINEOUT
LINES
MAX
MIN
OVERLAY
POS
QUEUED
RANDOM
REVERSE
RIGHT
SETLOCAL
SIGN
SOURCELINE
SPACE
STREAM
STRIP
SUBSTR
SUBWORD
SYMBOL
TIME
TRACE
TRANSLATE
TRUNC
VALUE
VERIFY
WORD
WORDINDEX
WORDLENGTH
WORDPOS
WORDS
XRANGE
X2B (Hexadecimal to Binary).
X2C (Hexadecimal to Character)
X2D (Hexadecimal to Decimal)
Queue Interface
RXQUEUE Function