Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/User-input-Text/REXX/user-input-text.rexx
Normal file
10
Task/User-input-Text/REXX/user-input-text.rexx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/*REXX program prompts & reads/obtains a string, and also the number 75000 from terminal*/
|
||||
say 'Please enter a string:' /*issue a prompt message to the term. */
|
||||
parse pull userString /*the (char) string can be any length. */
|
||||
/* [↑] the string could be null/empty.*/
|
||||
do until userNumber=75000 /*repeat this loop until satisfied. */
|
||||
say /*display a blank line to the terminal.*/
|
||||
say 'Please enter the number 75000' /*display a nice prompt message to term*/
|
||||
parse pull userNumber /*obtain the user text from terminal. */
|
||||
end /*until*/ /*check if the response is legitimate. */
|
||||
/*stick a fork in it, we're all done. */
|
||||
Loading…
Add table
Add a link
Reference in a new issue