OWBasic for Pocketviewer

Home INTRO Group FILE Alphabetical Index

Read a Record of a File

FILEREAD mode, submode, fp [, blocks]

The record fp points to is read into FILEBUFFER.

Mode and submode select the file to use. fp must be a valid filepointer from previous calls to FILENEXT or FILEPREV. If blocks is given, only the given amount of blocks (1 block = 64 bytes) is read into FILEBUFFER.


Home INTRO Group FILE Alphabetical Index