Skip to content

TFPExprVariableCallBack

Callback procedure type for variable evaluation

Declaration

Source position: fpexprpars.pp line 494

type
  TFPExprVariableCallBack = procedure(var Result: TFPExpressionResult; 
                                    constref AName: ShortString);

Arguments

Name Description
Result The result of the variable callback
AName The name of the variable being evaluated

Description

This procedural type defines the signature for callback procedures that provide variable values during expression evaluation. It allows external code to resolve variable names to their corresponding values at runtime.