What happens to the value of a function variable when the function exits? Does it get reset to 0?
function variables
Blitz3D Forums/Blitz3D Beginners Area/function variables they dont exist outside of the function and are set to 0 when the function starts.
a static variable would keep the value of last time it went inside the function, but blitz doesnt have them. I want them for large projects.
a static variable would keep the value of last time it went inside the function, but blitz doesnt have them. I want them for large projects.
Just what I needed to know, thanks