
GeoBASIC Reference Manual
2.GeoBasic Constructs
TPS1100-Version 1.30
2-9
data type
_Token
. Actual values of such parameters must be of type string literal
or string constant.
Note
Neither variables nor string expressions are allowed as actual values for
parameters of type _Token.
Examples:
♦
A typical example would be to create a dialog with graphical output
capabilities.
'a string constant
CONST Help_Token = "This function defines "+
"the standard " +
"graph dialog."
MMI_CreateGraphDialog ("GRAPH",
"Graphical Sit.",
Help_Token)
♦
Variables and string expressions are not allowed as actual parameters.
Therefore the following example is multiple
erroneous
in the call of
CreateGraphDialog
, because there are tokenizable strings allowed only.
DIM Help_Token AS String255
DIM capt
AS String20
capt = "GRAPH"
HelpToken = "This function defines the "
"standard graph dialog." 'a string
'constant
MMI_CreateGraphDialog(capt, "Graphical"+" sit.",
Help_Token)
'error!!!
2.1.8 Logical
Values
Logical values are written as
TRUE
or
FALSE
. They are
predefined names
(not
reserved words) and can be used wherever logical constants are allowed. As usual
for names, upper and lower case letters are not distinguished.
Содержание 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 ...