TCaseOperation.Create¶
Create case operation with arguments
Declaration¶
Source position: fpexprpars.pp line 291
public
constructor TCaseOperation.Create(Args: TExprArgumentArray);
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.