
GeoBASIC User Manual
3 — Creating a GeoBASIC Application
TPS1100-Version 1.30
3-3
The GeoBASIC compiler is integrated in GeoBASIC IDE. The following picture
shows the IDE after a successful compilation of
Meanhz.gbs
:
The Compilation is started either by selecting <Compile Program> in the
<Compile>-menu, pressing Ctrl+F7 or clicking COMPILE-button ( ). In any
case the selected window determines which source-file has to be compiled.
During the compilation process the compiler checks for a correct program. If the
compiler recognises an error it produces an error message in the output window
and the compilation is stopped. The following window shows a stop during
compilation of
Test.gbs
because of the undefined identifier “Rectangle”:
In the output window the line (i.e. 33) and column (i.e. 18) of the program, where
the error occurred, is displayed. Additional the cursor is moved on this position in
the program. The error identification number (i.e. 61) references to further
explanations. Set cursor on the line with the error number and use the shortcut
<Shift-F1> to get a more detailed explanation of the error. Select <How To Use>
in the <Help>-menu for a list of all error codes and a detailed information about
the whole IDE functionality.
In the case that a semantic condition could not be met the line and column position
might be not correct. E.g. the source of lines 18 and 19:
Содержание 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 ...