Commands used with sequential files, sockets and pipes

These commands are a subset of General commands, grouped here for convenience.

check #

Check if bytes are available in a sequential file, socket or pipe

close #

Close a sequential file, socket or pipe

flush #

Flush pending output to a specified channel

flushall

Flush all sequential and keyed files to disk

get[field] #

Read data into fields from a sequential file, socket or pipe

open #

Open a sequential file, socket or pipe

put[field] #

Write data to a sequential file, socket or pipe

rewind #

Rewind a sequential file to the beginning

seek #

Position a sequential file at a stated position

wind #

Position a sequential file at the end

New in version 6.3.0: See the new features.

These functions have been added to complement the previous sequential file commands using “C” like functions:

fopen

Open a sequential file, socket or pipe

fclose

Close a sequential file, socket or pipe


RELATED TOPICS

Sequential files

Keyed file commands