Problems with IIF
My first raport in FAST REPORT 5, first error with
in Memo i write [IIF(1=0, '1', '2')] work fine in PascalLanguage Script , but if i change in C++ Script ERROR!
')' expected? Where is the problems? Differen syntax? Please give me an example to use IIF corect in C++ SCript language. Thanks!
in Memo i write [IIF(1=0, '1', '2')] work fine in PascalLanguage Script , but if i change in C++ Script ERROR!
')' expected? Where is the problems? Differen syntax? Please give me an example to use IIF corect in C++ SCript language. Thanks!
Comments
[IIF(1==0, "1", "2")]
although it may work with single quotes.
Why do you need to use C Script?