06-17-2018, 10:29 PM
(This post was last modified: 06-18-2018, 05:33 AM by pedromartins.)
Hi everyone
Found another possible bug in Naalaa 6 (windows version). Why these things always happen to me ?![[Image: bug.png]](http://www.naalaa.com/community/images/icons/bug.png)
![[Image: wink.png]](http://www.naalaa.com/community/images/icons/wink.png)
I was testing a simple function then i thought let's make a crazy thing... and program worked without any errors. Say what ?![[Image: smile.png]](http://www.naalaa.com/community/images/icons/smile.png)
Found another possible bug in Naalaa 6 (windows version). Why these things always happen to me ?
![[Image: bug.png]](http://www.naalaa.com/community/images/icons/bug.png)
![[Image: wink.png]](http://www.naalaa.com/community/images/icons/wink.png)
I was testing a simple function then i thought let's make a crazy thing... and program worked without any errors. Say what ?
![[Image: smile.png]](http://www.naalaa.com/community/images/icons/smile.png)
Code:
a=1
b=2
set color 0,0,0
cls
c=addnum(a,b)
set color 255,255,255
wln a,"+",b,"=",c
wln "press space to exit"
wait keydown
end
function addnum(a,b)
c=a+b
return c
'what is this ? no error ? endproc in function ?
endproc