Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/User-input-Text/Toka/user-input-text.toka
Normal file
6
Task/User-input-Text/Toka/user-input-text.toka
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
needs readline
|
||||
." Enter a string: " readline is-data the-string
|
||||
." Enter a number: " readline >number [ ." Not a number!" drop 0 ] ifFalse is-data the-number
|
||||
|
||||
the-string type cr
|
||||
the-number . cr
|
||||
Loading…
Add table
Add a link
Reference in a new issue