What it does
FileReadStringRaw takes iFileID (an integer), and answers a string. iFileID is the id of a File object, obtained elsewhere in the File family.
Syntax
FileReadStringRaw(iFileID integer) → stringParameters
| Name | Type |
|---|---|
| iFileID | integer |
Every form returns
string
Example · generated
file = CreateMemblockFromFile("assets/data.dat")DO Print(FileReadStringRaw(file)) Sync()LOOPCreateMemblockFromFile is there to give the call something to act on; FileReadStringRaw is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.