Q7)Xfile.EoF how can u represent it in another way
1.xfile.pos
2.xfile.read
3.xfile.len
4.file.read(file.pos)= file.len
5.file.read= file.len
Hi it is Answer 4
Example:
WHILE f.POS < f.LEN DO BEGIN
f.READ(Zeile);
...
END;
POS is indicating the Position in the File
LEN is the File Size.
The While Statement above works as long, pos is smaller then len.
If there are Equal you are at "EOF".
Comments
Read the whole post to understand..
http://www.mibuso.com/forum/viewtopic.php?p=19192
http://www.BiloBeauty.com
http://www.autismspeaks.org