7 lines
176 B
Forth
7 lines
176 B
Forth
|
|
: TEST
|
||
|
|
." Enter your name: " 80 INPUT$ CR
|
||
|
|
." Hello there, " TYPE CR
|
||
|
|
." Enter a number: " INPUT# CR
|
||
|
|
IF ." Your number is " .
|
||
|
|
ELSE ." That's not a number!" THEN CR ;
|