[futurebasic] File$(_FSSpecFolder) FSSpec Info?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2008 : Group Archive : Group : All Groups

From: Lake Group/Veenix Software <lakegroupltd@...>
Date: Thu, 8 May 2008 18:34:50 -0400
Hi guys,

First off, great job on FBtoC, it's truly incredible. Like being  
saved from MPW all over again!

One situation... in FBtoC, Files$(_FSSpecFolder) seems to return the  
wrong values in parID and vRefNum. Correct in FB. Small sample below.  
Do the return values need to be further interpreted, or is there a  
work around?

dim as  FSSpec      spec
dim as  str255      name

name = Files$( _FSSpecFolder, "Choose a folder",,spec )
print "spec.name = ";spec.name, "spec.parID = ";spec.parID,  
"spec.vRefNum = ";spec.vRefNum

Thanks,
Deb Lake