Maptitude GISDK Help |
Test to see if end of file has been reached.
result = FileAtEOF(file f)
Argument |
Contents |
f |
The handle of the file |
An integer, 1 if the end of file has been reached or 0 if it has not been reached.
fptr = OpenFile("data.txt", "r")
While !FileAtEOF(fptr) do
ShowMessage(ReadLine(fptr))
end
Error Type |
Meaning |
Error |
File is not open |
Function |
Summary |
Opens a text or binary file on disk |
|
Gets the current Read/Write position of a file |
|
Sets the current Read/Write position of a file |
©2025 Caliper Corporation | www.caliper.com |