HELPLIB.HLB  —  PASCAL  Attributes  Optimize
  The optimization attributes  indicate  whether  the  VSI  Pascal
  compiler should optimize code.

1  –  OPTIMIZE

  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 "HP Pascal Language Reference Manual" for  the  complete
  description of using the OPTIMIZE attribute.

2  –  NOOPTIMIZE

  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 "HP Pascal Language Reference Manual" for  the  complete
  description of using the NOOPTIMIZE attribute.
Close Help