We use cookies to ensure that we give you the best user experience on our website.If you want to find out more about the cookies we use, you can access to our Privacy Policy here.By continuing your visit to our website, we'll assume you consent to our use of cookies.

DENSO DENSO WAVE

Close

Technical Information

Application Development Manual | Determining data file size

Determining data file size

Function

Read number of records written to the data file.

Syntax

Detailed Description

The LOF function returns the number of records written to the data file.

Set fileno to the value specified when opening the data file.

Example

Check number of records written to the data file

  private SNO$
private QTY$
private BARDATA$
private record%
open "TESTDATA.DAT" as #1                       ' open data file
field #1, 3 as SNO$, 5 as QTY$, 13 as BARDATA$  ' define fields
record% = lof(#1)                               ' read number of records written
close #1

Contact us

QBdirect

If you have not registered

The services on this member site are available only for registered customers.

New member reg.