Check nearby libraries
Buy this book
Last edited by Martin Iturbide
May 17, 2019 | History
This series of 21 lessons is aimed at beginners who want to gain rapid proficiency in REXX.
Arranged in an easy-to-follow format, users will become proficient with REXX in just 21 day-to-day lessons and will enjoy programming in the OS/2 environment.
-
Covers basic programming concepts, REXXutil Functions, creating and manipulating workplace shell objects, and extending OS/2 applications
-
Provides programming examples, helpful summaries, and dozens of exercises
- Teaches users general programming fundamentals and how to better manage their OS/2 and mainframe systems
Check nearby libraries
Buy this book
Subjects
REXX (Computer program language), OS/2, OS2, REXX, Warp, IBM, Rexx (computer program language)Edition | Availability |
---|---|
1 |
aaaa
|
2 |
zzzz
|
Book Details
Table of Contents
How To Use This Book.
Special Features of This Book.
Conventions Used in This Book.
Day 1.
Getting Started.
History of REXX.
Benefits of Using REXX.
Ease of Use.
Built-in Functions.
Free with OS/2.
Customizes and Extends OS/2.
Comparing REXX Programs to Batch Files.
Preparation.
Developing REXX Programs.
Design.
Code.
Test and Debug.
Writing Your First REXX Program.
Entering and Running HELLO.CMD.
Understanding Errors.
Summary.
Q&A.
Workshop.
Quiz.
Exercises.
Day 2.
REXX Ground Rules.
A Simple REXX Program.
Structure of a REXX Program.
Program Comments (Lines 1, 3, 15).
Instructions (Lines 3-9, 11, 15, 18-21).
IF ... THEN ... ELSE (Lines 3, 5, 19).
PARSE ARG (Line 4).
DO ... END (Lines 6, 9).
SAY (Line 7).
PULL (Line 8).
CALL (Line 11).
EXIT (Line 15).
A Procedure (Lines 18-21).
Commands (Line 13).
Indenting, Formatting, and Style.
Entering and Running the Program.
Summary.
Q&A.
Workshop.
Quiz.
Exercises.
Day 3.
Variables and Constants.
Using Computer Memory.
Strings.
Numbers.
Variables.
Variable Names.
Types of Data.
Using Datatype.
Summary.
Q&A.
Workshop.
Quiz.
Exercises.
Day 4.
Instructions, Expressions, and Operators
Instructions and Expressions
Keyword Instructions
Clauses
Expressions
Operators
Putting It All Together
Assignments
Assignment
Labels
Summary
Q&A
Workshop
Quiz
Exercises
Day 5.
Arithmetic
Arithmetic Operators
Addition
Subtraction
Negation
Multiplication
Division
Power
Order of Evaluation
Summary
Q&A
Workshop
Quiz
Exercises
Day 6.
Executing System Commands
Accessing OS/2's Commands
Using Variables with Commands
Replacing Commands with REXX Instructions
The Directory Function
The SAY Instruction
The SetLocal and EndLocal Functions
The PULL Instruction
Converting Existing Batch Files
Return Codes
Generating a Return Code
Summary
Q&A
Workshop
Quiz
Exercises
Day 7.
Basic Input/Output
Displaying Text and Numbers
Formatting Numbers
Getting Input
The PULL Instruction
The ARG Instruction
Usage and Help Messages
Summary
Q&A
Workshop
Quiz
Exercises
Week 1
in Review
The Week in Review--Week 1
Day 8.
Making Decisions
Program Control
Using Relational and Logical Operators
Logical Operators
Relational and Logical Operator Precedence
The IF Instruction
Nesting IF Instructions
Formatting and Style Using IF
The ELSE Instruction
Nesting With the ELSE Instruction
Grouping Instructions
The SELECT Instruction
Summary
Q&A
Workshop
Quiz
Exercises
Day 9.
Manipulating Strings
Getting the Length
Making Conversions
Using the Translate Function
Using the Strip Function
Using the Reverse Function
Decimal and Hexadecimal Conversions
Concatenation
Using Relational Operators with Strings
A Last Word On Operator Precedence
Cutting Strings
Character-Based Substrings
Word-Based Substrings
Using the Substring Functions
Searching
Parsing Strings
Summary
Q&A
Workshop
Quiz
Exercises
Day 10.
Testing and Debugging
Techniques and Tools
Testing
Fertile Areas for Testing
The TRACE Instruction
Trapping Errors with SIGNAL
Syntax Trapping as a Programming Aid
Using PMREXX
Summary
Q&A
Workshop
Quiz
Exercises
Day 11.
Using Loops
Repeating a Group of Instructions
Types of Loops
A Basic Loop
Using WHILE and UNTIL
Counting Through a Loop
Infinite Loops
Exiting and Continuing Loops
DO Instruction Syntax
Summary
Q&A
Workshop
Quiz
Exercises
Day 12.
Compound Variables
Introducing Compound Symbols
Arrays
Multi-dimensional Arrays
Structures
Arrays and Structures
Associative Memory
Summary
Q&A
Workshop
Quiz
Exercises
Day 13.
Dealing with User Input
Prompts and Arguments
Help and Hand Holding
Using Sound
Using Color
Using Arguments
Checking Input
Defensive Programming
Summary
Q&A
Workshop
Quiz
Exercises
Day 14.
Using Subroutines
Introducing Subroutines
Using Arguments
Designing For Subroutines
Creating Your Own Subroutines
Controlling Visibility
Functions
Using Recursion
External REXX Procedures
Procedure Search Order
Summary
Q&A
Workshop
Quiz
Exercises
Week 2
in Review
The Week in Review--Week 2
Day 15.
File Input/Output
Introducing Input/Output Streams
Reading and Writing Lines
Reading and Writing Characters
The STREAM Function
Accessing Other Devices
Techniques
Trapping Input and Output Errors
Creating Filters
Printing
Summary
Q&A
Workshop
Quiz
Exercises
Day 16.
Introducing RexxUtil Functions
RexxUtil and Other External Libraries
Registering External Functions
A Simple Menu
Processing Individual Keys
Positioning and Hiding the Cursor
Creating the Menu
Creating A User Input Dialog
Summary
Q&A
Workshop
Quiz
Exercises
Day 17.
More RexxUtil Functions
Drives, Directories, and Files
Getting Information About Drives
Making and Removing Directories
Getting Directory Listings
Searching for Text in Files
Deleting Files
Extended Attributes
Accessing and Modifying INI Files
Summary
Q&A
Workshop
Quiz
Exercises
Day 18.
Creating Workplace Shell Objects
Types of WPS Objects
Creating Font Palettes and Color Palettes
Creating Folders
Creating Shadows
Creating Program Objects
Summary
Q&A
Workshop
Quiz
Exercises
Day 19.
Manipulating Workplace Shell Objects
Deleting an Object
Enumerating WPS Objects
Finding Folders and the Desktop
Getting a List of Object IDs
Open on Command
Updating Settings
Icons and Backgrounds
Summary
Q&A
Workshop
Quiz
Exercises
Day 20.
Extending OS/2 Applications
REXX as a Macro Language
Extending the Enhanced Editor
Introducing EPM REXX Macros
Writing an EPM REXX Macro
Processing and Defining Keys
Creating Menus
Using the Mouse
Creating a Profile
Other Applications That Use REXX
LiveWire
DeScribe 4.1
AmiPro
Summary
Q&A
Workshop
Quiz
Exercises
Day 21.
Interprocess Communications.
Files as Semaphores.
Named Pipes.
Queues.
Summary.
Q&A.
Workshop.
Quiz.
Exercises.
Week 3.
in Review.
The Week in Review--Week 3.
Appendix A.
Installing REXX
Appendix B
Visual REXX Tools
Gpf GpfREXX
Hockware VisPro/REXX
Watcom VX-REXX
Appendix C
The Future of REXX
Understanding the Benefits of Object REXX
Simplifying WPS Access
Improved Development Tools
Summary
Appendix D
Standard Workplace Shell Objects
Appendix E
Key Codes Returned by SysGetKey
Key Codes for the Main Keyboard
Key Codes for the Function Keys
Key Codes for the Cursor Pad
Key Codes for the Numeric Keypad
Appendix F.
Answers.
Day 1, Getting Started.
Day 2, REXX Ground Rules.
Day 3, Variables and Constants.
Day 4, Instructions, Expressions, and Operators.
Day 5, Arithmetic.
Day 6, Executing System Commands.
Day 7, Basic Input/Output.
Day 8, Making Decisions.
Day 9, Manipulating Strings.
Day 10, Debugging.
Day 11, Using Loops.
Day 12, Stem Variables.
Day 13, Dealing with User Input.
Day 14, Using Subroutines.
Day 15, File Input/Output.
Day 16, Introducing RexxUtil Functions.
Day 17, More RexxUtil Functions.
Day 18, Creating Workplace Shell Objects.
Day 19, Manipulating Workplace Shell Objects.
Day 20, Extending OS/2 Applications.
Day 21, Interprocess Communications.
Appendix G.
Using the Enhanced Editor.
Getting Set Up.
Finding the Enhanced Editor.
Creating An EPM Book.
Starting EPM and Changing the Font.
Enabling the Edit Ring.
Saving the Settings.
Programming With EPM.
Creating a New File.
Loading an Existing File.
Saving a File to Disk.
Exiting EPM.
Using Syntax Expansion.
Entering EPM Commands.
Creating a Profile.
EPM Keys Mini Reference.
Appendix H.
REXX Keyword and Function Reference.
Edition Notes
Includes index.
Classifications
The Physical Object
ID Numbers
Links outside Open Library
Community Reviews (0)
Feedback?History
- Created November 3, 2008
- 10 revisions
Wikipedia citation
×CloseCopy and paste this code into your Wikipedia page. Need help?
May 17, 2019 | Edited by Martin Iturbide | Edited without comment. |
May 17, 2019 | Edited by Martin Iturbide | Edited without comment. |
May 17, 2019 | Edited by Martin Iturbide | Edited without comment. |
May 17, 2019 | Edited by Martin Iturbide | Edited without comment. |
November 3, 2008 | Created by ImportBot | Imported from Talis record |