Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.22 DEF_COND

Note

Note: Usage options

The DEF_COND command is used to define a condition that may be used for one or more of the following tasks:

  • To "pre-define" an expression that is used repeatedly in subsequent IF, DOWHILE, DOUNTIL, or CONDCHECK commands.
  • To define a condition to be used to control the enabling (or disabling) of function keys on subsequent DISPLAY, REQUEST or POP_UP commands.
  • To define a condition to be used to control the appearance (or non-appearance) of fields on a screen panel or a report line.

Also See

7.22.1 DEF_COND Parameters

7.22.2 DEF_COND Examples


Panel
bgColor#ffffcc

                                                                                        Mandatory

  DEF_COND 

No Format
                                                       Mandatory   DEF_COND

-----

NAME

 NAME ---------

name of condition

 name of condition --------------

>              >

>

                      >--

COND

-

'condition

to

evaluate'

------------------>

 ----------------------------------------------------------------------

                                                         Optional              >-- COLHDG


                                                                                           Optional

                     >-- COLHDG -------

*YES

-----------------------------|

                                


                                                      *NO