| Maptitude GISDK Help |
Indicates the Caliper Script type of variable.
The datacursor type added in Version 2013. The datetime type added in Version 2018.
type = TypeOf(variable var)
| Argument | Contents |
|---|---|
| var | The variable to be tested for its type |
A string indicating the type of variable:
| Type | Meaning |
|---|---|
| array | An array |
| circle | A circle compound variable |
| color | A color compound variable |
| coord | A coord compound variable |
| datacursor | A Data Cursor object |
| datetime | A DateTime compound variable |
| dll | A DLL handle |
| double | A real number |
| fancyobject | A sample text, point, line or area compound variable |
| file | A file handle compound variable |
| fillstyle | A fillstyle compound variable |
| int | An integer number |
| linestyle | A linestyle compound variable |
| managedobject | A .NET Object |
| null | A null value |
| oleobject | A COMObject |
| scope | A scope compound variable |
| string | A character string |
| tin | A TIN |
| vector | A vector |
val = 10
typ = TypeOf(val) //typ = "int"
val = "test"
typ = TypeOf(val) //typ = "string"
| ©2025 Caliper Corporation | www.caliper.com |