Maptitude GISDK Help |
Writes a character string to a binary file.
FileWriteString(file f, string text, integer length)
Argument |
Contents |
f |
A file handle |
text |
Character string to be written to the file |
length |
Number of bytes to be written to the file |
Length-1 characters are always written to the file, followed by a null character.
The string is always terminated with a null character.
Strings that are shorter than length-1 are padded with null characters.
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) |
Function |
Summary |
Closes a file |
|
Reads a character string from a binary file |
|
Opens a text or binary file on disk |
©2025 Caliper Corporation | www.caliper.com |