
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 1.30
6-31
sText
in
The text string to display
Return-Codes
RC_OK
Successful termination.
BAS_NO_DLG_EXIST
No dialog exists for this operation.
TXT_UNDEF_TOKEN
The given token could not be found in
the database. Most probably an old
version is loaded either on TPS or
simulator.
RC_IVPARAM
No text token database is loaded with
the currently set language.
See Also
MMI_PrintStr
Example
The example uses the
MMI_PrintTok
routine to print the text
string „Hello World“ in the first line on row 2 of the actual text
dialog.
MMI_
PrintTok( 2, 0, "Hello World" )
6.1.20 MMI_PrintVal
Description
Print a value on a text dialog.
Declaration
MMI_PrintVal( BYVAL iColumn
AS Integer,
BYVAL iLine
AS Integer,
BYVAL iLen
AS Integer,
BYVAL iDecimals AS Integer,
BYVAL dVal
AS Double,
BYVAL lValid
AS Logical,
BYVAL iMode
AS Integer )
Remarks
This routine can be used to display double values (or values with
equal type, e.g. dimension). If
lValid = TRUE
the value
dVal
is placed on position
iColumn
and
iLine
on the text dialog,
otherwise the symbols for invalid values
"-----"
are
displayed. Too long value strings are truncated, illegal co-
ordinates are adjusted. If
iMode = MMI_DIM_ON
, a dimension
field is automatically displayed when the type of
dVal
has units.
Содержание 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 ...