File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -955,6 +955,7 @@ Console Print and Input Statements
955
955
** INPUT _ var_ / I.**
956
956
** INPUT "prompt"; _ var_ **
957
957
** INPUT "prompt", _ var_ **
958
+ ** INPUT ; _ var_ **
958
959
959
960
Reads from keyboard/screen and stores
960
961
the value in _ var_ .
@@ -965,7 +966,9 @@ Console Print and Input Statements
965
966
after the prompt, spaces are printed
966
967
to align to a column multiple of 10
967
968
(similar to how a comma works in
968
- PRINT).
969
+ ` PRINT ` ). In the case you don't want
970
+ any prompt, you can use a semicolon
971
+ alone.
969
972
970
973
If the value can't be read because
971
974
input errors, the error is stored in
Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ DIM_MORE: comma
381
381
# INPUT
382
382
INPUT_STR:
383
383
" \" " emit TOK_CSTRING E_CONST_STRING emit TOK_PRINT_STR PRINT_SEP_EOL # Prints a given string
384
- PRINT_SEP_EOL # If starts with ',' or ';', don't print anyting
384
+ " ; " # If starts with ';' don't print anyting
385
385
emit { TOK_BYTE_PUT, 63 } # Prints a '?' by default
386
386
387
387
INPUT_VAR_LIST:
You can’t perform that action at this time.
0 commit comments