Maptitude GISDK Help |
Reads a group of strings from a text file.
result = ReadSizedArray(file fptr, integer n)
Argument |
Contents |
fptr |
A file handle |
n |
Number of strings to be read |
An array of n strings.
ReadSizedArray() reads each line in the text file as a single string. That is, if n is 5, ReadSizedArray() reads the next five lines of the file and returns an array of five strings.
Zero length strings (e.g., a blank line in the input file) are represented as null elements in the array.
Function |
Summary |
Closes a file |
|
Loads an array from a file |
|
Opens a text or binary file on disk |
|
Reads a text file into an array of strings |
|
Reads a string from a text file |
|
Writes the elements of an array to a text file |
|
Writes the elements of an array to a file, separated by a delimiter |
©2025 Caliper Corporation | www.caliper.com |