Subject Re: [firebird-support] "if" without begin - end
Author Daniel Rail
Hi,

At January 26, 2005, 10:25, Luciano R. Machado wrote:

> We have used the following code in our procedures:

> if (var1 = 4) then
> var2 = 3.44;
> else
> var3 = 6.21

> Is there any knowed problem using it without the begin - end ?

In your example, there isn't any problems. I use the same syntax.
But, you do need the BEGIN...END when there is more than one
statement.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)