RosettaCodeData/Task/Read-entire-file/BASIC/read-entire-file.basic

6 lines
88 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
DIM f AS STRING
OPEN "file.txt" FOR BINARY AS 1
f = SPACE$(LOF(1))
GET #1, 1, f
CLOSE 1