
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 1.30
6-33
DIM TestVal AS Distance
TestVal = 287.47
MMI_
PrintVal( 2, 0, 10, 2, TestVal, TRUE,
MMI_DIM_ON )
6.1.21 MMI_PrintInt
Description
Print an integer value on a text dialog.
Declaration
MMI_PrintInt( BYVAL iColumn AS Integer,
BYVAL iLine
AS Integer,
BYVAL iLen
AS Integer,
BYVAL iVal
AS Integer,
BYVAL lValid
AS Logical )
Remarks
This routine can be used to display integer values. Too long value
strings are truncated, illegal co-ordinates are adjusted. If
lValid = TRUE
the value
iVal
is placed on position
iColumn
and
iLine
on the text dialog, otherwise the symbols
for invalid values are displayed.
If the
iVal
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
MMI_CreateTextDialog)
.
iLen
in
The length of the value plus the sign.
iVal
in
The value to display. Use this routine to
display integer values. For double values a
separate routine (
MMI_PrintVal
) exists.
lValid
in
Determines if the value should be shown as
valid. If
lValid = TRUE
the value
iVal
is
displayed, otherwise the symbols for invalid
values are displayed.
Содержание 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 ...