Subj : Re: Internal codes in Baja
To : All
From : Jas Hud
Date : Sat Jul 04 2009 06:03 am
Tegularius wrote:
> 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
they user doesnt have to know the internal code, that's for you to put
into your .src
setStr "uploads"
FILE_SET_AREA
file_upload
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net