[futurebasic] The Application's WDN

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2000 : Group Archive : Group : All Groups

From: lcs@...
Date: Thu, 28 Dec 2000 10:24:38 +0100 (MET)

Hi "mini-runtime" and "tech-runtime" adventurers!

Under the standard runtime, it is often repeated that
the following snippet will return the current default
working directory number (short integer).

CLS:
WD%=FOLDER("",0)
PRINT WD%
INPUT JK$

Further, at launch time this is the (WDN =)
working directory number of the application's folder.

Now, Bill Kuck pointed out that in spite of some indications 
to the contrary, this does not work under the mini-runtime.

>Date: Sun, 22 Feb 1998 02:10:40 -0500
>From: Bill Kuck <bypass91@...>
>Subj: Re: Which is correct... Update!

Now the obvious question (FAQ?).  How best to get the 
WDN of the app's folder under the mini-runtime of FB2
(and equally under the tech runtime of FB^3)??

Cheers

Larry S.