Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Input-loop/FreeBASIC/input-loop.basic
Normal file
14
Task/Input-loop/FreeBASIC/input-loop.basic
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
Dim line_ As String ' line is a keyword
|
||||
Open "input.txt" For Input As #1
|
||||
|
||||
While Not Eof(1)
|
||||
Input #1, line_
|
||||
Print line_ ' echo to the console
|
||||
Wend
|
||||
|
||||
Close #1
|
||||
Print
|
||||
Print "Press any key to quit"
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue