Subj : Internal codes in Baja
To   : All
From : Tegularius
Date : Thu Jul 02 2009 07:33 pm

I would like to write a command to select a file area by means of a mnemonic
code (instead of by number after scrolling through perhaps several pages of
listings, as the default provides).

The FILE_SET_AREA function works fine as long as the user knows the complete
internal code of a file area and types it in.  However, this ordinarily
consists of the internal code of the library + that of the area within the
library.  I don't want to require the user to type anything but the code of
the area, without the library prefix.

So how can I get a hold of either the internal code (preferably) or at least
the short name of the currently selected library in a Baja program?

"@LIB@" displays the library's short name but I haven't seen a way to do
anything with @-codes except display them.

---
� Synchronet � The Bauding House - baudhous.synchro.net