.. _define--xxx: DEFine xxx ========== +----------+-------------------------------------------------------------------+ | Syntax | DEFine .... | +----------+-------------------------------------------------------------------+ | Location | QL ROM | +----------+-------------------------------------------------------------------+ This keyword forms part of the structures: - DEFine PROCedure, - DEFine FuNction, - END DEFine. As such, it cannot be used on its own within a program - this will cause a 'bad line' error, except under SMS where it causes an error 'Incorrect Procedure or Function Definition'. **CROSS-REFERENCE** Please refer to the individual structure descriptions for more details: :ref:`define--function`, :ref:`define--procedure` and :ref:`end--define`.