Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{{selection|Short Circuit|Console Program Basics}}[[Category:Basic language learning]][[Category:Keyboard Input]] In this task, the goal is to input a string and the integer 75000, from the text console.
|
||||
{{selection|Short Circuit|Console Program Basics}}[[Category:Basic language learning]][[Category:Keyboard Input]] [[Category:Simple]]
|
||||
In this task, the goal is to input a string and the integer 75000, from the text console.
|
||||
|
||||
See also: [[User input/Graphical]]
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
10 INPUT "ENTER A STRING: "; S$
|
||||
20 INPUT "ENTER A NUMBER: ", I%
|
||||
20 INPUT "ENTER A NUMBER: "; I : I = INT(I)
|
||||
|
|
|
|||
|
|
@ -8,4 +8,5 @@ parse pull userString /*get the user text and store it.*/
|
|||
say 'Please enter the number 75000' /*show the nice prompt.*/
|
||||
parse pull userNumber /*get the user text. */
|
||||
end /*until*/ /*now, check if it's OK*/
|
||||
|
||||
/*stick a fork in it, we're done.*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue