
GeoBASIC User Manual
3 — Creating a GeoBASIC Application
3-4 TPS1100-Version
1.30
18:
s = 3.1 + "hello"
' this line is semantically
' not correct
19:
MMI_PrintStr(0, 0, "input text:", TRUE)
generates the following error message in the output window:
C:\GeoBASIC\Samples\Meanhz.gbs(19)(3): error 25, type
mismatch
This seems to be not correct but it’s a follow-up of the fact that the semantic
information is available only if the last statement is processed to the end of it.
Hence the next symbol has been already got from the input symbol stream.
Therefore, the symbol pointer points to the next symbol. In our example it is the
call of a system subroutine. Be aware of this fact if you track back an error.
The GeoBASIC programmer has to keep some limitations for his applications:
•
One simple procedure or function may not contain more than 10 kB of code.
•
The maximum size of an application (including memory space) is limited by
the free memory size of the theodolite only. If no other applications are loaded
there should be free memory up to several hundred kB on a theodolite.
•
An application may not have more than 64kB of string literal in total.
•
The number of global identifiers is limited to 3000.
•
The overall maximum number of identifiers limits the number of local
identifiers, which is about 60000.
Note
The usage of the compiler is protected by a hardware key. Without the
right hardware key it is not possible to execute the compiler
successfully. If the hardware key is not installed properly or it does not
contain the license for the compiler then an error message will be
displayed and execution will be terminated.
Compile Options
The Selection of <Compile Options> in the <Compile>-menu displays the
following dialog box:
Содержание 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 ...