Extending Standards

Like other coding languages for objects, you can extend a Standard to duplicate a table for separate use. You can extend a Standard by creating a new Standard with the Standard name and reference, followed by the Standard reference of the Standard you are extending with an @.

    
    new_std: NSTD: @STDREF
    

A classic example is vehicle applications and types.

    
    truck: TRCK: @VHL
    

You can give your extended constraint additional properties by adding constraints. In the example below, TRCK will have the same constraints as VHL in addition to the max_weight constraint.

    
    truck: TRCK: @VHL {
        protected owner standard @PER OWNR *
        protected max_weight double MXWGHT
    }