Hello Gentlepeople,
as you might know from ancient Rexx2Nrx, I did implement an askfor
Function to ask for a value:
name=askfor('Give me your name')
continue=askfor('Would you like to continue','Yes/No')
I do find this more useful and human reading than:
say 'Give me your name'
name=ask
etc.
Also, this function would allow abbreviated input, as Y or N in the
second example.
This functionalitty has been implemented years ago in Rexx2Nrx, class
RexxMsg,
documented at Rexx2Nrx - Run Time docu.
Also, I'm keeping a LOG-file of this concole I/O
Now, my question to all those experts there:
Should we not simply 'maintain' this LOG-File with simple SAY statements
as well.
I, personally, do find the DOS Console Overflow sometimes very annyoing!
What do you think?
PS: Meanwhile, there is an askforInt, askforDate, etc implemented in
ReyMsg and
ReyScreen.... ;-)
--
Thomas Schneider (www.thsitc.com)
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Thomas Schneider, Vienna, Austria (Europe) :-)
www.thsitc.com
www.db-123.com