
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
2.10
6-44
dVal
in
The value to convert. Use this routine to
convert double (and equal to double)
values.
iMode
in
If
iMode = MMI_DIM_ON
a dimension
string is automatically added to
sValStr
when the type
dVal
has units. Otherwise
use
MMI_DEFAULT_MODE
.
sValStr
out
sValStr
contains the string
representation of the value
dVal
.
Return-Codes
RC_OK
Successful termination.
RC_IVRESULT
The result is not valid due to an illegal
input value.
See Also
sFormatVal
Example
The example uses the
MMI_FormatVal
routine to convert the
value
dTestVal
as distance (with corresponding dimension).
DIM dTestVal AS Distance
DIM sVString AS String30
dTestVal = 287.47
MMI_
FormatVal( MMI_FFORMAT_DISTANCE, 10, -1,
dTestVal, TRUE,
MMI_DIM_ON, sVString )
6.1.27 MMI_WriteMsg
Description
Output to a message window.
Declaration
MMI_WriteMsg( BYVAL sText
AS _Token,
BYVAL sCaption AS _Token,
BYVAL iMsgType AS Integer,
iRetKey
AS Integer )
Remarks
The function opens a message window on the display, which
shows the text specified by
sText
. Lines that are too long to fit
into the window are split automatically.
Содержание 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 ...