Function ScalarValue(identifier, suffix)

ScalarValue

ScalarValue(
    identifier,   ! (input) element expression into AllIdentifiers
    suffix        ! (optional) element expression into AllSuffixNames
   )

Arguments

identifier

A scalar element expression into AllIdentifiers

suffix

A scalar element expression into AllSuffixNames

Return Value

The function ScalarValue returns the value contained in the scalar identifier identifier or scalar reference identifier.suffix.

Note

When identifier or identifier.suffix is not a scalar numerical valued reference, the function ScalarValue returns 0.0.

See also

The function Val. The ScalarValue function is a function that operates on subsets of AllIdentifiers. Other functions that operate on subsets of AllIdentifiers are referenced in Working with the Set AllIdentifiers of the Language Reference.