Maptitude GISDK Help

LoadArray()

Summary

Loads an array from a file.

 

Changes

In Version 2017 added loading from a native JSON text file.

 

Syntax

my_array = LoadArray(string file_name)

 

Argument Contents
file_name The file name, including full or partial path, of the file in which the array is saved

 

Returns

The array stored in the file.

 

Notes

Error Codes

Error Type Meaning
Error The file does not contain an array or the array cannot be read
NotFound The file cannot be opened

 

See Also

Function Summary
ArrayToJson() Converts an options array to a proper JSON literal object
JsonToArray() Converts a proper JSON literal object to an options array
ReadArray() Reads a text file into an array of strings
SaveArray() Saves an array to a file

 

 

©2025 Caliper Corporation www.caliper.com