Call CharOut , "Print this with no newline"
--
John C. Frickson | http://www.gibbon.com/ | * OS/2 * Linux *
Gibbon Computer Products | ftp://ftp.gibbon.com | PGP Fingerprint:
9864 Palm St. NW | Phone: +1 612 754 6557 | FD743D4E209DFC26
Coon Rapids, MN 55433 | VISA/MasterCard/AmEx | 371905C7B52B36E9
Thanks in advance.
Tomas Chan <big...@ibm.net> (home)
<tc...@mail.ddnet.es> (home)
<75627,405> (Compuserve)
do not use 'say', use 'charout' instead.
otto raeder
This question has been answered already, but you might want to check out the
electronic developer's magazine for os/2 column on rexx. January's article
was about file i/o and covered this topic. You can get to EDM/2 through
http://www.iqpac.com
Let me know if the article helps.
joe r wyatt
sure this is especially handy when you want to let someone
enter data from the keyboard right after the prompt you just
printed. suppose you put this up with lineout
Enter here :>
by using call lineout stdout,"Enter here:> "
this would force the prompt to the next line and defeat having
the nice enter prompt, so try this:
call charout stdout,"Enter here:> "
parse linein ans
this will get the entered stuff from the keyboard and parse to variable
ans. If know know for sure that the entered stuff will not have
spaces in it, you could do this in the parse:
parse linein ans .
this will dump any unwanted chars from the end of the enter so they
don't get in 'ans'
Mark
Just use Call CharOut ,'Your choosen prompt '
(don't forget the leading comma...)
Jean-Pierre Cabani/e