Subject | Re: [firebird-support] "if" without begin - end |
---|---|
Author | Daniel Rail |
Post date | 2005-01-26T14:34:37Z |
Hi,
At January 26, 2005, 10:25, Luciano R. Machado wrote:
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)
At January 26, 2005, 10:25, Luciano R. Machado wrote:
> We have used the following code in our procedures:In your example, there isn't any problems. I use the same syntax.
> if (var1 = 4) then
> var2 = 3.44;
> else
> var3 = 6.21
> Is there any knowed problem using it without the begin - end ?
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)