|
Hi Ali <snip> What would be nice is (may be already there, but I don;tknow)%read(File) BIF, returns a boolean true (and of course the file buffer), if the read was successfull. Then we can have a read loop like below: DoW %read(FileToRead) ..... EndDo </snip> You could make a sub-proc like that, that reads the file, and returns true if it is not end of file. In my opinion, that would hide the details of what's really happening, as would the BIF. Kind of like setting up input primary, and hide the whole loop. -- "Enter any 11-digit prime number to continue..."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.