realbasic-nug
[Top] [All Lists]

Re: Import text file as project item?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Import text file as project item?
From: Albert Wallace <albertfrancis at austin dot rr dot com>
Date: Sun, 29 Feb 2004 16:33:32 -0600
References: <1E95F2C0-6A56-11D8-874D-000A95DA5086 at oxalyn dot com> <F0029CC0-6A57-11D8-8AC7-000A956DBB06 at orangecitycomm dot net> <43373D54-6AE8-11D8-B598-000A277ACFB8 at austin dot rr dot com> <F0AF9B81-6AE8-11D8-AD23-000A95983FBE at ljug dot com> <F1229C91-6AE9-11D8-B598-000A277ACFB8 at austin dot rr dot com> <8ED6E92D-6AF8-11D8-A925-003065A85F80 at cox dot net>
Hi David,

Thanks for responding. The BBEdit idea was the key. I took the text from a table on the internet, and once I deleted the HTML stuff it worked perfectly.

Thanks,
Albert Wallace

On Feb 29, 2004, at 2:47 PM, David Austin wrote:

It has always worked for me in debug and compile. I use this with most my apps. Be sure that the file is named properly before dragging it into the project. Alphanumeric with no spaces. The name will become a constant. (This is why filename is a consideration). Also, I always use BBEdit Lite to create the file. I create all my text constants this way. It is a good technique anytime you have more than a line of text. It makes it easy to change to. I usually keep my files in an "text_files" folder in the same folder as my RB project for organization.

---
David Austin

On Feb 29, 2004, at 11:03 AM, Albert Wallace wrote:

OK. Then there must be another reason that what works fine in the IDE build doesn't work at all in a compiled app. It was my guess that the file was inaccessible.

Thanks,
Albert Wallace


- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>