
GeoBASIC Reference Manual
2.GeoBasic Constructs
2-10 TPS1100-Version
1.30
2.2 DATA
TYPES
There are two kinds of data types in GeoB
ASIC
: simple and composite.
2.2.1
Simple data types
The simple data types are:
1.
Integer
2.
Logical
3.
Double
,
Distance
,
Subdistance
,
Angle
,
VAngle
,
HzAngle
,
Pressure
,
Temperature
•
The values of type
Integer
are the signed 31-bit integer numbers, from
-2147483648 to 2147483647.
•
Variables of type
Logical
can take on the values
TRUE
and
FALSE
. They
are used in logical expressions, they can be assigned, and they can be passed as
parameters.
•
The other predefined simple types are all the same as
Double
; their values are
the floating point numbers. The different names are provided for correct
displaying of its units and dimension. Within the theodolite Firmware SI units
are used (Meter, radians, hPa and Celsius).
2.2.2
Composite data types
In addition to the predefined (simple) types, there are three composite data types
available:
1. String
2. Array
3. Structure
A variable of type
String
can contain a string of some maximum length which is
specified in the declaration of the variable (see Section 2.3.2 on Declaration of
Variables). The values of type
String
are described in Section 2.1.7 on Strings.
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...