FILEBIN_CLOSE

FILEBIN_CLOSE N

CLOSES THE BINARY FILE NUMBER N

  • Type: Command
  • Parameter: 1
  • Group: Binary Files

ACTION

The command FILEBIN_CLOSE N closes the binary file number N which is in use for writing or for reading.

Its number is available and can be used to designate another binary file to be used.

SYNTAX: FILEBIN_CLOSE N

  • N = binary file number (integer or real). Must be greater than 0 and less than or equal to the maximum of allowed binary file number.

USE

  • The command FILEBIN_CLOSE is used to close a binary file which was in use.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the maximum of allowed binary file number.
  • If number N is not used for an open binary file.

EXAMPLE

rem open a binary file for reading

filebin_open_read 1,"test"

rem close it

filebin_close 1

SEE ALSO

FILEBIN_BLOCK_READ

FILEBIN_BLOCK_WRITE

FILEBIN_HEXA_READ

FILEBIN_HEXA_READ$()

FILEBIN_HEXA_WRITE

FILEBIN_OPEN_READ

FILEBIN_OPEN_WRITE

FILEBIN_POS()

FILEBIN_POSITION

FILEBIN_READ

FILEBIN_READ()

FILEBIN_SIZE()

FILEBIN_WRITE