[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
בעניין: #end-file
The variable #end-file get 1 base on the last read command,
so it's relate to the file number was specify in the read.
It should be read-only.
Check you are not in local procedure.
In local procedure you should use #_end-file !!
Arnon
----- Original Message -----
From: James Womeldorf <jwomeldo@FASTENAL.COM>
To: <SQR-USERS@list.iex.net>
Sent: Thursday, March 15, 2001 8:01 PM
Subject: #end-file
> Does the variable #end-file get set to 1 when ANY file opened for-reading
> reaches the end-of-file?
>
> How is one supposed to handle multiple-open-file situations?
>
> It appears that even though #end-file is an 'internal SQR variable'
> (according to Landres & Landres) you can set it back to zero using 'let',
so
> you can handle processing one file after another.
>
> Looks like concurrent use would get pretty ugly.
>
> Jim Womeldorf
> Programmer/Analyst
> Fastenal Company
> jwomeldo@fastenal.com
> (507) 453-8250
>
- References:
- #end-file
- From: James Womeldorf <jwomeldo@FASTENAL.COM>