Appendix A7
Comparing Gauss and Ox syntax
A7.1 Introduction
This chapter compares Gauss syntax with Ox. In the two column format, Gauss is
discussed on the left, and Ox in the right-hand column. The aim is to aid Gauss users in
understanding Ox. Elements of Ox syntax which are not needed for that purpose (such
as classes) are not discussed here.
A7.2 Comparison
A7.2.1 Comment
The @ ... @ style of comment does not
exist in Ox.
Ox comment style is /* ... */ (as in
Gauss) or // which indicates a comment
up to the end of the line.
A7.2.2 Program entry
A Gauss program starts execution at the
first executable statement (which is not a
procedure/function/keyword etc.).
An Ox program starts execution at the
function main.
A7.2.3 Case and symbol names
Gauss is not case sensitive, except inside
strings. Symbol names may be up to 32
characters.
Ox is case sensitive. Symbol names may
be up to 60 and strings up to 2048 char-
acters.
152
Komentarze do niniejszej Instrukcji