You are here: Symbol Reference > MtxParseExpr Namespace > Classes > TMtxExpression Class > public > DefineCustomValue Method > TMtxExpression.DefineCustomValue Method (string, TObject)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxExpression.DefineCustomValue Method (string, TObject)

Define new custom object variable.

Pascal
function DefineCustomValue(const AVarName: string; const obj: TObject): TCustomValue; overload;

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

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!