[futurebasic] RE: [FB] Open "O" and the application path

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2010 : Group Archive : Group : All Groups

From: "Edwards, Waverly" <Waverly.Edwards@...>
Date: Thu, 11 Feb 2010 16:40:55 -0600
I'll put it to work after I get home this evening.

Thank you very much,


W.

-----Original Message-----
From: Robert Purves [mailto:listrp@...] 
Sent: Thursday, February 11, 2010 3:30 PM
To: futurebasic@...
Subject: Re: [FB] Open "O" and the application path


Waverly wrote:

> How does one go about using Open "O" to create a file in the application folder or a path relative to the application folder.

'-----------
include "Util_FileDirectory.incl"

dim as FSRef  appFolder

fn FD_ApplicationDirectoryGetFSRef( @appFolder )
open "O", 1, "test", @appFolder
print #1, "abc"
close 1
'-----------

Robert P.

--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...