Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
14
Task/Input-loop/FreeBASIC/input-loop.freebasic
Normal file
14
Task/Input-loop/FreeBASIC/input-loop.freebasic
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