Returns the file length (number of bytes).
Syntax: FileSize (File)
Example:
FileOpen (c1, "Data.dat", cRandom)
MaxN = FileSize ("Data.dat")
For i = 0 to MaxN step 8
ListBox1.Add (FileGet (c1,i))
Next
FileClose (c1)
This example will fill a listbox with numbers written in a file named Data.dat .