RosettaCodeData/Task/Read-entire-file/BASIC/read-entire-file-1.basic
2017-09-25 22:28:19 +02:00

5 lines
88 B
Text

DIM f AS STRING
OPEN "file.txt" FOR BINARY AS 1
f = SPACE$(LOF(1))
GET #1, 1, f
CLOSE 1