File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -955,6 +955,7 @@ Console Print and Input Statements
955955** INPUT _ var_ / I.**
956956** INPUT "prompt"; _ var_ **
957957** INPUT "prompt", _ var_ **
958+ ** INPUT ; _ var_ **
958959
959960 Reads from keyboard/screen and stores
960961 the value in _ var_ .
@@ -965,7 +966,9 @@ Console Print and Input Statements
965966 after the prompt, spaces are printed
966967 to align to a column multiple of 10
967968 (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.
969972
970973 If the value can't be read because
971974 input errors, the error is stored in
Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ DIM_MORE: comma
381381# INPUT
382382INPUT_STR:
383383 " \" " 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
385385 emit { TOK_BYTE_PUT, 63 } # Prints a '?' by default
386386
387387INPUT_VAR_LIST:
You can’t perform that action at this time.
0 commit comments