Hi,
I was kind of wondering if this was a bug. Today I was programming on a new game I'm making and had this value that had to be reset to zero. The value however was in a function. I spent about 2 hours trying to reset it over and over again, yet it wouldn't reset. It would however continue to count up, like I told it to. After menu entry however, and going back there it had to be reset to zero again. It wouldn't do that.
At first I did wanda=0 at the menu, then I tried it in the first of the screen in question, still no budge. Then I figured what the hell, I can also do it inside the header of the value like so:
function newspaper(text$,alex)
if alex=1 then wanda=wanda+15
if alex=2 then wanda=0
end function newspaper
That worked! Now, I wonder. Is it a bug or is it a safe call against a thinking mistake that could have made a booboo?
I can't imagine Lee not having a reason for this, what I ask you is the reason?
Think 'what is the reason'-Merovingian here