FileWriteLongInt()
Summary
Writes a long (4-byte) integer to a binary file.
Syntax
FileWriteLongInt(file f, integer value)
| Argument | Contents |
|---|---|
| f | A file handle |
| value | Value to be written |
Error Codes
| Error Type | Meaning |
|---|---|
| Error | Cannot write to the file (e.g., out of disk space, the file is not open, or the file is open in the wrong mode) |
See Also
| Function | Summary |
|---|---|
| CloseFile() | Closes a file |
| FileReadLongInt() | Reads a long (4-byte) integer from a binary file |
| OpenFile() | Opens a text or binary file on disk |