Reading from a file

Blitz3D Forums/Blitz3D Programming/Reading from a file

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

okay so;

I create a text file called test.txt with one line in in it model1.b3d
call it in blitz as above
I want for example a$ to be a global variable which is a model called "model1.b3d"

I cant get it to work. Am I asking too much ?