[futurebasic] Re: [FB] FSSpec (again)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2005 : Group Archive : Group : All Groups

From: George Beckman <gbeckman@...>
Date: Mon, 21 Mar 2005 20:55:52 -0800
Ted,

Robert's is perfect.   The main thing here was that you were trying to 
create a FSSpec and it is already declared.   That is why he could just 
say

dim as fsSpec fs.

It may be interesting for you to know that you can pull out the file 
name, (or any other part of the record) which can be handy.

test$=fs.name.  In a save I use .name to add my extension.

On Mar 21, 2005, at 6:13 PM, Robert Purves wrote:

>> begin record openfile
>> dim vref as short
>> dim parID as long
>> dim filename as str63
>> end record
----
Best Wishes,

George
http://www.pggp.com