| Maptitude GISDK Help |
Writes a short (2-byte) integer to a binary file.
FileWriteShortInt(file f, integer value)
| Argument | Contents |
|---|---|
| f | A file handle |
| value | Value to be written |
FileWriteShortInt() only writes values in the range -32768 to 32767. Smaller or larger values will cause an error.
| Error Type | Meaning |
|---|---|
| Error | Cannot write to the file (e.g., value out of range, out of disk space, the file is not open, or the file is open in the wrong mode) |
| Function | Summary |
|---|---|
| CloseFile() | Closes a file |
| FileReadShortInt() | Reads a short (2-byte) integer from a binary file |
| OpenFile() | Opens a text or binary file on disk |
| ©2025 Caliper Corporation | www.caliper.com |