Name

curveid — Return a reference to curve definition that has the matching id value.

Syntax

curveid(id)
              

The CURVEID function has the following argument:

id

The id value for the curve definition of interest.

Description

Access and execute an curve element with the matching id value.

This function only operates in the context of the Matrix Builder.

If the curve id has not been defined then an undefined attribute exception will occur. If the 'ignoremissing' condition has been set to true then the function will return a zero value curve. Otherwise, an error condition will be raised and the Matrix Builder will terminate.

Examples

Formula

Description

Result

curveid(AU+'.Yield.'+SPP)

Look up the curve element with the id of AU+'.Yield.'+SPP, for whatever the value of AU and SPP is for the stand being processed.Curve