Question: if then statement

the problem is as follows:

if((a>0) and (b>0) then (c:=2*a, d:=3b, e:=9b.....)

elif ((a<0) and (b>0)) then (c:=.., d:=..., e:=....)

elif.....

.....

else c:=..., d:=..., e:=...

end if

 

i know i have the if conditions right, but not sure about sequential conditions..what is the correct syntax for this??

I'm getting errors like parse errors, unterminated if, and invalid sequence (on the :=)...

Thanks in advance..

Sarju

Please Wait...