Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDef.AsInteger property

Member of TFPExprIdentifierDefpublicIn unit fpExprPars

Get identifier value as integer

Declaration

pascal
property AsInteger: Int64 read GetAsInteger write SetAsInteger;

Description

The AsInteger property returns the identifier's value converted to an integer number. If the identifier represents a variable, it retrieves the current value; if it represents a function, it calls the function and returns the result converted to integer format.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.