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>

Reply via email to