Subject RE: [firebird-support] Conditional syntax in stored procedure?
Try parenthesis () in the first if.


if (this and that and theother) then
DoSomeCoolStuff
else if (not (this and that)) then
DoSomeOtherCoolStuff;


Bill Meaney



Hi All,

How would I convert this Delphi code to a stored procedure?

if this and that and theother then
DoSomeCoolStuff
else if (not (this and that)) then
DoSomeOtherCoolStuff;

The stored procedure doesn't seem to like the "and" operator and I
don't find a reference to an alternative.

Thanks,
Steve






Yahoo! Groups Links