Sign in Join
FPDoc Onlineexperiment

TIntConvertNode.Check procedure

Member of TIntConvertNodepublicIn unit fpExprPars

Validate the integer conversion for correctness

Declaration

pascal
procedure Check; override

Description

The Check method validates that the conversion operation can be safely performed and that the source value can be properly converted to an integer. It checks for potential overflow conditions and invalid source data types.

The validation helps prevent runtime errors during expression evaluation by ensuring that all type conversions are valid before the actual conversion is attempted.

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