Maptitude GISDK Help |
Resources are the building blocks of add-ins and GISDK applications. The Caliper Script includes six types of resources:
Classes, described under Object-Oriented Programming with GISDK
Resources are defined in free-format text files called resource files. Resource files can:
Contain multiple resources
Be combined together to make an add-in or application
Contain comments set off by a double slash (//), indicating that all of the remaining text on the same line of the file is a comment.
Keywords and function names in resources files are not case sensitive.
You can declare resources as static, meaning that they can only be called from resources within the same resource file in which they are defined. If you declare your resource as static then you don't have to worry about name collisions with other uses of the same name elsewhere. For example:
//this macro can only be called from this resource file
static Macro "my macro"
//do something
endMacro
//this macro can be called from anywhere
Macro "another macro"
//do something else
endMacro
For more information, see...
Dialog Boxes, Toolboxes, and Toolbars
©2025 Caliper Corporation | www.caliper.com |