Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Input-loop/BBC-BASIC/input-loop.basic
Normal file
11
Task/Input-loop/BBC-BASIC/input-loop.basic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
STD_INPUT_HANDLE = -10
|
||||
STD_OUTPUT_HANDLE = -11
|
||||
SYS "GetStdHandle", STD_INPUT_HANDLE TO @hfile%(1)
|
||||
SYS "GetStdHandle", STD_OUTPUT_HANDLE TO @hfile%(2)
|
||||
SYS "SetConsoleMode", @hfile%(1), 0
|
||||
*INPUT 13
|
||||
*OUTPUT 14
|
||||
REPEAT
|
||||
INPUT A$
|
||||
PRINT A$
|
||||
UNTIL FALSE
|
||||
Loading…
Add table
Add a link
Reference in a new issue