Hey, D-grafix, one problem with using Repeat...Until loops to read file contents is that Repeat...Untils always iterate at least once before exiting. This isn't a problem if the file has anything in it, but if it's a blank file, then a Repeat...Until will generate a single byte/line of data that doesn't exist. You For...Next loop is great, but probably the most compact way to do this is to use a While...Wend loop like this:
While Not Eof(file) ...;all da crap you wanna do WendIn this case, if the file is empty, the loop will exit immediately. Like I said, this usually isn't a problem, but if you need absolute precision, then the Repeat...Until just doesn't work out.