guides:programming:programmers_reference_manual:basic_open_file_handle

BASIC+ Open File Handle

The file handle returned in the BASIC+ OPEN statement is not identical to that stored in the FILES file. BASIC+ OPEN returns a file handle that contains both the filing system list for a file (the MFS and BFS list) as well as the file handle required by the BFS. The filing system list is the first value (@VM-delimited) of the returned handle, and the BFS file handle is the second value. Multiple MFSs in the file handle are delimited with @SVM.

For example, the BFS EX.BFS might return a file handle looking like this:

\DATA\REV10000

If the file has SI.MFS and SAMPLE.MFS installed, the file handle returned by the BASIC+ OPEN statement will be:

SI.MFS n SAMPLE.MFS n EX.BFS 2 \DATA\REV10000
  • guides/programming/programmers_reference_manual/basic_open_file_handle.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1