> It is NOT for your program's volatile data! In fact, you cannot write to
> one of these files from within the program (but you can from the IDE.)

The links you suggested were helpful, thanks.  The data in my file is always
used when the program is run, program constants you could say.  I placed the
file in the project directory, so it wasn't necessary to specify a path to
access it.  Most "data sections" in other programming languages that I've
used (e.g., assembler) contain data that reside in memory as part of the
executable, and have addresses that make the data available to the running
program.  I just wanted to make sure that I wasn't doing things the hard way
by processing a file containing information that was already part of the
(running) program.  I've finished the program, and it works great -- data
file access and all.  The program also creates files, but that's a different
matter.

Lou



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Accessing-Project-Data-in-a-Text-File-tp45627p45663.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android™ apps run on BlackBerry®10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to