Positioning a sequential file at the end

wind #

Position a sequential file at the end


SYNTAX

wind #channel [, #channel]…

Positions the sequential file(s) open on the channel(s) specified at end of file. A subsequent put[field] # command will append to the file.

#channel

The channel number must be an integer expression in the range 1-64. It is the number that was allocated to the file when it was opened (using open #). It may be a constant, field name or expression.


NOTES

  • The seek # command is used to position a file at any point.

  • The rewind # command positions a file at the beginning.

  • If the channel is closed the command is ignored.


EXAMPLE

wind #9
wind #BarCode

RELATED TOPICS

open #

seek #

rewind #

fseek

frewind

Sequential files

Traps