
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
1.30
6-32
If the
dVal
can not be displayed in
iLen
characters, then
"xxx"
will be displayed instead.
Note
A text dialog must already exist.
Parameters
iColumn
in
The horizontal position (0..28).
iLine
in
The vertical position (0..number of lines
defined with
CreateTextDialog).
iLen
in
The length of the value consisting of a sign,
the characters before and after the comma
and the comma itself. The dimension field
is not included.
iDecimals
in
The number of decimals. If
iDecimals
= -1
then the number of decimals set by
the system is taken.
dVal
in
The value to display. Use this routine to
display double (and equal to double) values
with the correct units. For integer values a
separate routine (
MMI_PrintInt
) exists.
lValid
in
Determines if the value should be shown as
valid. If
lValid = TRUE
the value
dVal
is displayed, otherwise the symbols
for invalid values are displayed.
iMode
in
Determines the display of the dimension. If
Mode = MMI_DIM_ON
a dimension field
is automatically displayed when the type
dVal
has units. Otherwise use
MMI_DEFAULT_MODE
.
Return-Codes
RC_OK
Successful termination.
BAS_NO_DLG_EXIST
No dialog exists for this operation.
See Also
MMI_PrintInt , MMI_InputVal
Example
The example uses the
MMI_PrintVal
routine to print the value
of
TestVal
as distance (with corresponding dimension) in the
first line on row 2 of the currently open text dialog.
Содержание 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 ...