TMtxExpression::DefineCustomValue Method

Overload List

#SignatureDescription
1TCustomValue *DefineCustomValue(const DewString &AVarName, tObject *obj);Define new custom object variable.
2TCustomValue *DefineCustomValue(const DewString &AVarName);Define type and initialize to nil.

Overload 1: TCustomValue *DefineCustomValue(const DewString &AVarName, tObject *obj);

Define new custom object variable.

#NameTypeDescription
1AVarNameconst DewString &
2objtObject *
Remarks:

The function receiving this variable needs to check for correct type of object and report an error if not as expected.

Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler

Overload 2: TCustomValue *DefineCustomValue(const DewString &AVarName);

Define type and initialize to nil.

#NameTypeDescription
1AVarNameconst DewString &
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler