OS/2 Procedures Language 2/REXX


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


SAY




 >>----SAY------+--------------+----;-----------><
                +--expression--+

SAY is used to write to the output stream the result of evaluating 
expression.  The result is usually displayed to the user, but the output 
destination can depend on the implementation. The result of expression can 
be of any length. 
Notes: 
   1. Data from the SAY instruction is sent to the default output stream 
      (STDOUT:) However, the standard OS/2 rules for redirecting output 
      apply to SAY output. 
   2. The SAY instruction does not format data; line wrapping is handled 
      by the operating system and the hardware. However formatting is 
      accomplished, the output data remains a single logical line. 
 
 Example: 

 data=100
 Say data 'divided by 4 =>' data/4
 /* Would display: "100 divided by 4 => 25"  */
 
   

Inf-HTML End Run - Successful