Skip to content

TFPConstExpression.GetNodeValue

Get the constant value

Declaration

Source position: fpexprpars.pp line 484

public 
procedure TFPConstExpression.GetNodeValue
                                         (var Result: TFPExpressionResult)
                                         ;  override;

Description

The GetNodeValue method returns the constant value stored in the expression as a TFPExpressionResult. Since constants have fixed values, this method always returns the same result regardless of context.