PDA

View Full Version : Store File Data in a Variable?


Greydragon
02-21-2005, 01:07 AM
I can't seem to find the correct code to store a file's text content in a variable. For example, if I have a .txt file named info.txt with the word "content" inside, how do I store that word in a variable?

Thanks.

Corey
02-21-2005, 01:10 AM
Hi. Try this page:

http://www.indigorose.com/webhelp/ams50/How_do_I/Load_and_display_a_text_file.htm

Hope that helps. :)

Greydragon
02-21-2005, 01:28 AM
Thanks, Corey. :D

Corey
02-21-2005, 01:34 AM
No problemo! :)