Previous Topic Next topic Print topic


Library Names in Paths

You can include a library name in the name of a file you want to open. The file specification is of the form

 /library-name.lbr/filename.ext 

Example

/appdir/applib.lbr/app.dat

This type of filename is only valid when used as the name of a data file being opened in read-only mode, using either OPEN INPUT syntax or the CBL_OPEN_FILE byte stream routine. If the library is not already open, this call will open that library on the given device and leave it open after the call. If the library does not exist, or if the given filename.ext does not exist in that library, a "file not found" error is returned.

Previous Topic Next topic Print topic