Maptitude GISDK Help |
GISDK includes the following functions that support general DOS file management:
GISDK Function |
Summary |
Gets the path name to an existing directory/folder |
|
Gets the name of an existing file using the Windows File Open dialog box |
|
Gets the name of a new file using the Windows File Open dialog box |
|
Gets the names of one or more existing files using the Windows File Open dialog box |
|
Gets the path name to an existing directory/folder |
|
Shortens a file's pathname to the listed length for purposes of display |
|
Writes a group of files one after another into a new file |
|
Copies a file |
|
Creates a new folder (directory) with a default security descriptor set by the system |
|
Deletes a file |
|
Checks whether files are in use by Maptitude |
|
Converts a relative pathname to an absolute pathname |
|
Gets a listing of the contents of a directory |
|
Gets the disk size and the amount of space available in bytes |
|
Returns a list of disk drives and their type |
|
Gets information about a file |
|
Returns the full, long pathname for a file |
|
Generates a valid and unused file name with a given specification, but does not delete such files on shutdown |
|
Gets the value of the Read Only checkbox in the most recent call to Choose File |
|
Converts an absolute pathname to a relative pathname |
|
Returns the short pathname for a file |
|
Generates a valid and unused file name with a given specification |
|
Gets the name of the directory used by the program to store temporary files |
|
Tests to see if the pathname is an absolute pathname |
|
Puts a file or folder in the recycle bin |
|
Removes a folder (directory) |
|
Copies, moves, or changes the name of a file |
|
Searches for the path for a filename |
|
Changes the attributes of a file or a directory |
|
Splits a path and filename into its component parts |
The GISDK functions shown below let you create, open, read and write to DOS text files:
GISDK Function |
Summary |
Closes a file |
|
Test to see if end of file has been reached |
|
Opens a text or binary file on disk |
|
Divides a string into pieces separated by the specified delimiters |
|
Reads a text file into an array of strings |
|
Reads a string of characters from a text file |
|
Reads a group of strings 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 |
|
Writes a string of characters to a text file |
The following GISDK functions let you create, open, read and write to DOS binary files:
GISDK Function |
Summary |
Closes a file |
|
Test to see if end of file has been reached |
|
Gets the current Read/Write position of a file |
|
Reads a double-precision (8-byte) floating point number from a binary file |
|
Reads a single-precision (4-byte) floating point number from a binary file |
|
Reads a long (4-byte) integer from a binary file |
|
Reads a short (2-byte) integer from a binary file |
|
Reads a character string from a binary file |
|
Sets the current Read/Write position of a file |
|
Writes a double-precision (8-byte) floating point number to a binary file |
|
Writes a single-precision (4-byte) floating point number to a binary file |
|
Writes a long (4-byte) integer to a binary file |
|
Writes a short (2-byte) integer to a binary file |
|
Writes a character string to a binary file |
|
Opens a text or binary file on disk |
©2025 Caliper Corporation | www.caliper.com |