Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TCaseOperation.Create

Create case operation with arguments

Declaration

Source position: fpexprpars.pp line 291

public constructor TCaseOperation.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.


Documentation generated on: Dec 15 2025