OWBasic for Pocketviewer

Home INTRO Group FILEBUFFER Alphabetical Index

Read and Write Filebuffer (Binary)

Low level routines to sequential read and write data in filebuffer. After resetting (FBBINIT) or setting (FBBSEEK) the internal pointer the procedures and functions read or write the data and move the pointer to the next position.

FBBINIT - Sets the internal pointer to the start of the binary filebuffer.

FBBSEEK nr% - Sets the internal pointer to the specified byte of the binary filebuffer.


Write procedureRead functionDatatype
FBBPUTBYTE b%FBBREAD()Byte
FBBPUTINT i%FBBINT()Integer
FBBPUTFLOAT f#FBBFLAOT#()Float
FBBPUTSTRING s$FBBSTRING$()String

The write procedures set the size of the binary buffer assuming, that the written data is the last data in buffer. Therefore it is not possible to write data in the middle of the buffer.


  • FBSTRING - Read/Write Strings to Filebuffer (Text)
Home INTRO Group FILEBUFFER Alphabetical Index