[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 12:56:28 +0100 (MET)

Here WDN = WDRN = "working dir ref no"

I asked:

 > 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)??

Well, FN GETVOL *seems* to work with a blank 
64 byte param block.  Will it always work?
Might it not sometimes give a volume no
rather than a WDRN?

DIM PBlk;64
CLS:
WD%=FOLDER("",0): PRINT WD%
FN GETVOL(@PBlk): WD%=PBlk.ioVRefNum%: PRINT WD%
INPUT JK$

Comments?  (Please cc me your answers since I
get the digest  only.)


Cheers

larry S