Contributed by: Doug Rickman, Global Hydrology and Climate Center, MSFC, NASA
This is aimed at beginning REXX users.
/*****************************************************************************/
/************************** Sending Control Characters ***********************/
/* if you want to send a control character into the file: */
rc=lineout(ID1,'09'x) /* send a new tab */
rc=lineout(ID1,'0a'x) /* send a new line */
rc=lineout(ID1,'0d'x) /* send a carriage return */
/* Note: that using the lineout will inherently send a '0d0a'x after each */
/* call. To avoid this use charout(). */
/* Note: To mark the end of a line UNIX uses only a '0a'x. DOS uses '0d0a'x */
The contents of these pages are Copyright © 2003, PillarSoft & Wayne Swanson.