Changes between Version 3 and Version 5 of Documentation/ARexxAPI/READPRINT


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/ARexxAPI/READPRINT

    v3 v5  
    1 [[TranslatedPages]]\\
    2 [[TOC(titleindex, heading=ARexx API, notitle, depth=2, Documentation/ARexx API/*)]]
    3 
     1[[TranslatedPages]]
     2[[TOC(sectionindex, heading=ARexx Function List, notitle, depth=1, Documentation/ARexxAPI/)]]
    43== READPRINT
    54
    6 '''NAME'''
     5 NAME::
    76     ReadPrint -- Print a part of the message in the active Read window to the printer.  (V2.0)
    87
    9 '''TEMPLATE'''
     8 TEMPLATE::
    109     PART/N
    1110
    12 '''FUNCTION'''
     11 FUNCTION::
    1312     Sends to the printer a part of the message in the active Read window,
    14      as set by [[ARexx API/MAILREAD| MAILREAD ]].
     13     as set by [[MAILREAD]].
    1514
    16 '''INPUTS'''
    17      PART/N   - part of the message to send to the printer, possible values
     15 INPUTS::
     16     `PART/N`   - part of the message to send to the printer, possible values
    1817     are 1 for the first part of the message (usually the body),
    1918     2 or higher for further parts, or no value at all to get a
    2019     printout of the visible part of the message
    2120
    22 '''RETURNS'''
    23      RC is set to 10 if the specified part does not exist or no Read window
    24      was previously specified as "active" with [[ARexx API/MAILREAD| MAILREAD ]].
     21 RETURNS::
     22     `RC` is set to 10 if the specified part does not exist or no Read window
     23     was previously specified as "active" with [[MAILREAD]].
    2524
    26 '''NOTES'''
     25 NOTES::
    2726
    28 '''EXAMPLE'''
    29          /* Enable result codes */
     27 EXAMPLE::
     28     {{{#!arexx
     29     /* Enable result codes */
     30     OPTIONS RESULTS
    3031
    31          OPTIONS RESULTS
     32     /* Silently decode the current message */
     33     MAILREAD QUIET
    3234
    33          /* Silently decode the current message */
     35     /* Print the body, then close the message */
     36     READPRINT 1
     37     READCLOSE
     38     }}}
    3439
    35          MAILREAD QUIET
    36 
    37          /* Print the body, then close the message */
    38 
    39          READPRINT 1\\
    40          READCLOSE\\
    41 
    42 '''BUGS'''
     40 BUGS::
    4341     The command used to blindly act upon the first Read window opened
    4442     at any given time; this was changed in V2.4 to require the use
    45      of [[ARexx API/MAILREAD| MAILREAD ]] to explicitely mark a window as "active".
     43     of [[MAILREAD]] to explicitely mark a window as "active".
    4644
    47 '''SEE ALSO'''
    48      [[ARexx API/MAILREAD| MAILREAD ]], [[ARexx API/READINFO| READINFO ]]
     45 SEE ALSO::
     46     [[MAILREAD]], [[READINFO]]