Skip to content

End_constraints Command

Obsolete

Refer to the OnConstrain event in the DataDictionary class.

Purpose

To create a constraint or set of constraints for a dataset.

Syntax

end_constraints

What It Does

end_constraints identifies the end of a block of code containing a set of constraints. This command, together with the begin_constraints command, can be used as a shortcut to defining constraints within a procedure. For example, the following two sets of code behave identically:

procedure constrain
    constrain vndr relates to region
    forward send constrain
end_procedure

begin_constraints
    constrain vndr relates to region
end_constraints