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

6 lines
88 B
Text
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
DIM f AS STRING
OPEN "file.txt" FOR BINARY AS 1
f = SPACE$(LOF(1))
GET #1, 1, f
CLOSE 1