Changes between Initial Version and Version 1 of Documentation/ARexxAPI/READPRINT


Ignore:
Timestamp:
Sep 23, 2013 8:45:52 PM (13 months ago)
Author:
AmigaPhil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/ARexxAPI/READPRINT

    v1 v1  
     1== READPRINT 
     2 
     3'''NAME''' 
     4     ReadPrint -- Print a part of the message in the active Read window to the printer.  (V2.0) 
     5 
     6'''TEMPLATE''' 
     7     PART/N 
     8 
     9'''FUNCTION''' 
     10     Sends to the printer a part of the message in the active Read window, 
     11     as set by [[rx_mailread| MAILREAD ]]. 
     12 
     13'''INPUTS''' 
     14     PART/N   - part of the message to send to the printer, possible values 
     15     are 1 for the first part of the message (usually the body), 
     16     2 or higher for further parts, or no value at all to get a 
     17     printout of the visible part of the message 
     18 
     19'''RETURNS''' 
     20     RC is set to 10 if the specified part does not exist or no Read window 
     21     was previously specified as "active" with [[rx_mailread| MAILREAD ]]. 
     22 
     23'''NOTES''' 
     24 
     25'''EXAMPLE''' 
     26         /* Enable result codes */ 
     27 
     28         OPTIONS RESULTS 
     29 
     30         /* Silently decode the current message */ 
     31 
     32         MAILREAD QUIET 
     33 
     34         /* Print the body, then close the message */ 
     35 
     36         READPRINT 1\\ 
     37         READCLOSE\\ 
     38 
     39'''BUGS''' 
     40     The command used to blindly act upon the first Read window opened 
     41     at any given time; this was changed in V2.4 to require the use 
     42     of [[rx_mailread| MAILREAD ]] to explicitely mark a window as "active". 
     43 
     44'''SEE ALSO''' 
     45     [[rx_mailread| MAILREAD ]], [[rx_readinfo| READINFO ]]