Property "CT Definitions" <ctdef>

Top  Previous  Next

This property is used to enter compile time definitions. The definitions in this property are processed before any other property of the current element.

Here are some examples:

 

  %doif(value = '')

    %error('Value of element ' + elmpath + ' cannot be left blank')

  %doend()

 

  %doif(../elmtype != 'ProcessForm')

    %error('Element ''' + elmpath + ''' misplaced. It must be placed inside a ''ProcessForm'' Element')

  %doend()

 

  %set(_dblist,_dblist + dbname + ',')

  %set(_seqlist,_seqlist + ./seq + ',')

  %set(_seq,./seq)

 

 

Used In Elements

All Basic Elements