DataBasic Reference > Statements and Intrinsic Functions > P > PROGRAM Statement

Comment on this topic

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)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

PROGRAM Statement

Identifies a DataBasic module as a program.

Syntax

PROGRAM programName

Syntax Elements

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.

Description

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.

See Also

SUBROUTINE statement.

RealityV15.0Comment on this topic