# Examples 6.1:
Programs

The text of a Sather program consists of the source text of one or more classes which are syntactically specified as being separated with a semi-colon. In practice exactly how the semi-colon is provided is up to the implementation.

Because of the heavy use of such things as library classes (even if only from the Required Library) means that the source text of each individual class may well be in a separate file, although for classes with shorter text two or three may be put together in one file for convenience. While theoretically there should be a semi-colon separating classes this may not necessarily be enforced by an application, providing that a sequence of classes in one file is separated by a semi-colon.

An implementation is only required to be able to distinguish the source text of one class from that of any preceding or following class in the sequence of classes which form the source of any individual program.

Sather source text skeleton examples for classes may be seen for both abstract and implementation classes in Section 6.2.

| Specification Index |  | Language Index |  | Programs |  | Section 6 Index

Comments or enquiries should be made to Keith Hopper . Page last modified: Monday, 22 May 2000. |