OS/2 Procedures Language 2/REXX


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


Advanced REXX Functions


As you become more skilled at programming, you may want to create 
procedures that do more and run more efficiently.  Sometimes this means 
adding a special function to a procedure or calling a subroutine. 
In this section, we shall see how these functions can help to build a 
better foundation in REXX. 
 Functions                         Perform a computation and return a 
                                   result. 
 DATATYPE( )                       An internal function that verifies that 
                                   the data is a specific type. 
 SUBSTR( )                         An internal function that selects part 
                                   of a string. 
 CALL                              Causes the procedure to look for a 
                                   subroutine label and begin running the 
                                   instructions following the label. 
 REXX.CMD File Commands            Treat commands as expressions. 
 Error Messages                    Tell you if the command runs correctly. 
                                   If the procedure runs correctly, no 
                                   message is displayed. 
   

Inf-HTML End Run - Successful