OWBasic for Pocketviewer

Home INTRO Group FLASH Alphabetical Index

Access to Files with Filepointer

A filepointer describes together with mode and submode one record of a file. Procedures for handling of files with filepointers work sequentially and are much faster for work with a high number of records than the procedures which work with record numbers ( LOADFILE, SAVEFILE). To remove or move records is possible only with filepointers.
FILENEXT, FILEPREVNext/previous record
FILEREAD, FILEWRITERead/write record
FILEXCHGmove record
FILEREMOVEremove record
FILEFINDSearch for record
FILELABEL$File label
GETFPGet file pointer to a record number

These procedures work directly with data in filebuffer.

Home INTRO Group FLASH Alphabetical Index