VMS Help
PASCAL, Attributes, Optimize
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
The optimization attributes indicate whether the Compaq Pascal
compiler should optimize code.
The OPTIMIZE attribute specifies optimization options that are
to be enabled during compilation of a compilation unit or
routine.
Syntax:
OPTIMIZE [[( {identifier},... )]]
All options are enabled by default.
ALL Enables all OPTIMIZE options.
NONE Disables all OPTIMIZE options.
[NO]INLINE Enables inline expansion of user-defined
routines.
See the "Compaq Pascal Language Reference Manual" for the
complete description of using the OPTIMIZE attribute.
The NOOPTIMIZE attribute prohibits the compiler from optimizing
code for the compilation unit or routine.
The NOOPTIMIZE attribute guarantees left-to-right evaluation
order with full evaluation of both operands of the AND and OR
Boolean operators to aid in diagnosing all potential programming
errors. If you wish to have short circuit evaluation even with
the NOOPTIMIZE attribute, then use the AND_THEN and OR_ELSE
Boolean operators.
See the "Compaq Pascal Language Reference Manual" for the
complete description of using the NOOPTIMIZE attribute.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.