The file function EOF end-of-file returns the number of records in a datalog file when leaving pos and offset inputs unwired.
Jean-Pierre Drolet www.avensys.ca ----- Original Message ----- From: "Marco Tedaldi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 21, 2004 6:37 AM Subject: Number of records in datalog-file > Hello wiring people > > Is there an easy way to find out how many records there are in a datalog > file? > I've thaught about reading every record sequentially till an error > occurs (or "offset after read" == "filesize") but I think that's not > really economical. Is there a better way to do this? > > Thank you in advance > > Marco > > >