Modules

TODO

Syntax

{ Program | Library } module_name
[ Where attribute ]
…
[ statements ]

Parts

module_name
Necessary name..
Where
Optional keyword you can use again and again.
attribute
Necessary after Where.

Attribute

attrib_name = { string_literal | version_literal }
attrib_name
A name.
string_literal
Text between quotation marks, such as "example text".
version_literal
Three or four groups of Decimal numbers with a dot (.) between each group, such as, 1.2.3 or 12.34.56.789.
statements
Optional declarations and executable statements.

Instructions

After optional comments, one of the keywords Program or Library must start the code in a source file. The program module, which starts with Program, specifies where execution of the program starts. A library module, which starts with Library, specifies code that you can only use from other program and library modules.

Examples

TODO

See also