RosettaCodeData/Task/Read-entire-file/BASIC/read-entire-file.basic
2023-07-01 13:44:08 -04: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