Hello everybody,
I am new to Construct 2.
I have tried to program a Fibonacci function.
It works quiet well, but I have a general problem with the else section.
It seems that even when the if condition is true, the else section is
being execute as well.
<img src="http://dev.linux.ort.org.il/c2/Pics/Fibo1.png" border="0" />
<img src="http://dev.linux.ort.org.il/c2/Pics/Fibo2.png" border="0" />
(This is where the answer should have been 1, not 2!!!)
<img src="http://dev.linux.ort.org.il/c2/Pics/Fibo3.png" border="0" />
Can anyone tell me what i am doing wrong ?
Thank you in advance
Eylon