Skip to content

BlitzBasic Files

Claude edited this page Oct 26, 2026 · 3 revisions

BlitzBasic: Files

Opening, reading, writing and listing files and directories.

Files and folders are used through handles. ReadFile, WriteFile and OpenFile give you a file handle that you must close with CloseFile when you are done, and ReadDir gives a folder handle for CloseDir. What you read and write through a file handle is described on BlitzBasic-Streams. Paths may use / on every platform, and are relative to the current folder unless they are complete.

Back to BlitzBasic or the Command Index.

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally