44698Re: [libertybasic] Re: EOF Indicator/GOSUB
- Mar 1, 2012Am 01.03.2012 23:13, schrieb Gary Passmore:
> eof(#f) returns 0 (null chr) if the file has NOT been exhausted.I have read the help many times and I use that construct successfully in
> Your "not(eof(#file))" will have the opposite effect.
> Read the Help File, under "EOF( #h )."
my existing projects with the correct result.
Did you try it?
The line "While Not(Eof(#file))" can be translated into human language
as "While not at the end-of-file (do loop)".
LB 4.04 Pro ... http://www.libertybasic.com/assist.html
LB 4.04 ....... http://www.libertybasic.com/lb404setup.exe
LB Community Wiki .............. http://basic.wikispaces.com/
LB Programmer's Encyclopedia ... http://lbpe.wikispaces.com/
LB Bug Tracker ................. http://libertybasicbugs.wikispaces.com/
Books at http://www.lulu.com/ and http://www.amazon.com/
Alyce Watson ... APIs for Liberty BASIC
Carl Gundel .... Beginning Programming with Liberty BASIC
Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM
- << Previous post in topic Next post in topic >>