
GeoBASIC User Manual
10 — GeoBASIC Sample Programs
10-8 TPS1100-Version
2.10
SELECT CASE iButton
CASE MMI_F3_KEY
ShowGraphics( iNoPoints, storeHz, dMean )
'move theo to the computed mean horizontal angle
CASE MMI_F5_KEY
BAP_PosTelescope(BAP_POSIT_HZ, BAP_POS_MSG, dMean, 0,
0.1, 0.1)
END SELECT
LOOP
END IF
'clean up text dialog
MMI_DeleteDialog()
'close output file
Close(fId)
END Main
END Mean
10.2 SAMPLE PROGRAMS
These code samples gives you some help for building your first applications. Each
of them should give you some hints in a specific problem domain.
•
appinfotest.gbs
This example shows the use of the application
information section in the GeoBASIC source file.
•
codefunc.gbs
An example of a program which will be called,
when
the
Code-
key has been pressed.
•
cursor.gbs
Cursor control in a dialog.
•
error_ha.gbs
This program shows how error handling changes
execution of a program.
•
language.gbs
Take this program as an example to support
multiple language applications. Two language files
and its text databases are provided to see how
multilingual
support works.
•
meanhz.gbs
This sample shows the calculation of the mean
value of horizontal angle measurements, see Chapter
10.1.
Содержание 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 ...