
GeoBASIC User Manual
11 — Porting a TPS1000 Originated Program
11-2 TPS1100-Version
2.10
11.2 CHANGES TO THE SIMULATOR
Now TPSSim supports GeoBASIC programs larger than 64 KB. A restriction,
which turned out in the past, bothered the most of the GeoBASIC program
developers. We would like to point out that the SWTheo extension enables the
programmer to influence the execution of a program. With specific dialogs the
programmer gets the possibility to set or change certain (measurement) values. We
hope this helps a lot to simulate a more realistic TPS environment and makes it
almost obsolete to have an instrument at your hand to test your application. Of
course, still the final test of an application has to be done on an instrument. See
also the documentation of TPSSim for further explanations.
11.3 NEW CONSTRUCTS IN GB_1100
Due to some requests we added a few new constructs to GeoBASIC for TPS1100
instruments.
11.3.1 #include
Statement
It is now possible to include a GeoBASIC source file in another one. Nevertheless
only one level of inclusion is allowed.
11.3.2 MID$
statement
Mid$’s implementation has been extended. Now Mid$ can be used to assign a
character or a substring to another string at a certain position. In this way single
characters of a string can be set or replaced.
Examples:
T = “abcdef”
Mid$(t, 2, 1) = "+"
results in “a+cdef”
Mid$(t, 4) = "------------"
results in “a+c------------”
11.3.3 Application
Info
A general concept of configurability has been introduced for the TPS1100 family
of instruments. This gives totally new customisation possibilities into the hand of
Содержание 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 ...