At 2:11 PM -0500 2/10/03, [EMAIL PROTECTED] wrote:
What is the recommended mechanism for reading data from stdin for a PASM application. The readline operation is considered a hack and I would rather implement the correct mechanism for reading data into stdin than use such a reviled operation. Thanks.
If you don't need line breaks figured out for you, you can use the two-arg read op. The first arg is the destination string, the second the maximum read size, or 0 for the default.

read S3, 100

to read in no more than 100 bytes.
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk


Reply via email to