Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
PROGRAM Statement (DataBasic) (m618703+program_s.htm)
Identifies a DataBasic module as a program.
PROGRAM programName
programName Specifies the name of the program. This name should be the same as the item-id, but is ignored when the program is compiled.
It is recommended that programName should be enclosed in quotes; if this is not done, it must obey the rules for identifiers.
The PROGRAM statement is optional. If a module contains neither a SUBROUTINE statement nor a PROGRAM statement, it is regarded as a program.
If used, the PROGRAM statement must be the first statement in a program.
SUBROUTINE statement.