TCaseOperation.Create constructor
Create case operation with arguments
Declaration
constructor Create(Args: TExprArgumentArray)Arguments
Args | The arguments array for case operation |
Description
The Create constructor creates a new case operation node with the provided arguments array.
The arguments typically include the condition expression and alternating case values and result expressions.
The case operation follows a pattern commonly found in SQL:
CASE condition WHEN value1 THEN result1 WHEN value2 THEN result2 ELSE default_result END.
The arguments array contains these components in the appropriate order for evaluation.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
