[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This chapter is still under development.
This chapter tells you how the source of a valid GNU Pascal program should look like. You can use it as tutorial about the GNU Pascal language, but since the main goal is to document all special GPC features, implementation-dependent stuff, etc., expect a steep learning curve.
This chapter does not cover how to compile your programs and to produce an executable -- this is discussed above in section 7. Command Line Options supported by GNU Pascal..
Source Structures Programs, Units and Modules. Data Types Standard and non-standard data types. Operators Built-in and user-definable operators. Parameters Procedure And Function Parameters Pointer Arithmetics How pointer arithmetics works in Pascal. String Slice Access Accessing parts of strings (and other arrays) Type Casts Explicit and emulated type casting in GPC. OOP How object-orientated programming is implemented. Compiler Directives Compiler Directives And The Preprocessor Library Routines Routines Built-in or in the Run Time System Other Languages How to share libraries with other languages. Notes for Debugging Problems and caveats when debugging GPC programs. Run Time System Pascal declarations for GPC's Run Time System library. GPC Units Units included with GPC