This book is recognized as the standard reference manual for the REXX Programming Language, much as Kernighan and Ritchie is recognized as the standard reference book for the C Programming Language.
Author(s): Michael Cowlishaw
Edition: 2nd
Publisher: Prentice Hall
Year: 1990
Language: English
Pages: 203
Tags: REXX, Regina REXX, Regina, programming languages, scripts, batch, IBM, ANSI Standardized
Preface ix
Part 1 : Background 1
Section 1: What Kind of a Language is REXX? 1
Section 2: Summary of the REXX Language 3
Section 3: Fundamental Language Concepts 7
Section 4: Design Principles 13
Section 5: History 15
Part 2: REXX Language Definition 17
Section 1: Characters and Encodings 17
Section 2: Structure and General Syntax 18
Section 3: Expressions and Operators 24
Section 4: Clauses and Instructions 31
Section 5: Assignments and Variables 32
Section 6: Commands to External Environments 37
Section 7: Keyword Instructions 39
ADDRESS 40
ARG 42
CALL 43
DO 47
DROP 53
EXIT 54
IF 54
INTERPRET 55
ITERATE 57
LEAVE 58
NOP 59
NUMERIC 59
OPTIONS 61
PARSE 62
PROCEDURE 65
PULL 67
PUSH 68
QUEUE 69
RETURN 69
SAY 70
SELECT 71
SIGNAL 72
TRACE 73
Section 8: Function Calls 77
Section 9: Built-in Functions 81
Section 10: Parsing for ARG, PARSE, and PULL 118
Section 11: Numbers and Arithmetic 127
Section 12: Input and Output Streams 139
Section 13: Conditions and Condition Traps 145
Section 14: Interactive Tracing 151
Section 15: Reserved Keywords and Language Extendibility 154
Section 16: Special Variables 156
Section 17: Error Numbers and Messages 157
Appendix A: REXX Syntax Diagrams 165
Appendix B: A Sample REXX Program 171
Appendix C: Language Changes since First Edition 175
Appendix D: Glossary 179
Index 189