Gee,
And I thought MY way was cool..
Thanks Norman, I didn't know you could do that!
I LOVE REALbasic.
Thanks,
Jamie
Software Factory, LLC
Sales 800-539-1780
Support 706-632-3763
Fax 706-632-6498
www.installfactory.com
On Feb 2, 2007, at 5:09 PM, Norman Palardy wrote:
On Feb 02, 2007, at 3:05 PM, Art Peters wrote:
Hi good folks,
I have a couple of data files that I would like to include in the
compiled app. I imported a file (bdat.txt) into the ide project.
Then tried several approaches to read those files and input the
data using standard folderitems with f = GetFolderItem("bdat.txt")
and inp = f.OpenAsTextFile. I couldn't seem to make anything work.
No need to open folderitems
They are basically huge strings now that you can just use
whatever variable you were using code like
someVariable = inp.ReadAll
just do
someVariable = bdat
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>