Error Message EOF

Blitz3D Forums/Blitz3D Beginners Area/Error Message EOF

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.

Good point ADAM :)

hehe youre right. i normally use rep until to be able to quit when reading scripts ie (altho exit works just as well):
if file
 repeat
   if eof (file) exit
   read...
   if something wrong scripterror$="errmsg"
 until eof(file) or scripterror<>""



i know, i know messy!(bad habbits die hard), while wend is better... I really must get into the habit of using while loops.

Right... Tonight ill go to sleep dreaming:

while not awake
print "WHILEWENDWHILEWEND"
wend