[fpc-pascal] New feature: IfThen() intrinsic

Serguei TARASSOV serge at arbinada.com
Tue Feb 2 12:13:22 CET 2016


On 02/02/2016 12:00, fpc-pascal-request at lists.freepascal.org wrote:
> On Tue, 2 Feb 2016, Michael Van Canneyt wrote:
>
> At least Firebird & Microsoft SQL Server and MS-Access contain it.
> FastReport uses it.
>
> I use this since 15+ years, I didn't make up this name myself:-)
These products (remember Excel too) use managed code.
Also, in SQL Server/FB/Access the functions are integrated into 
declarative language.
The calculating order of arguments in IIF is not defined, the query 
optimizer select the good plan (control of flow).

Regards,
Serguei



More information about the fpc-pascal mailing list