Post Reply 
variable initial value - bug? (rev. 8151)
09-26-2015, 04:11 PM (This post was last modified: 09-26-2015 04:13 PM by xset.)
Post: #5
RE: variable initial value - bug? (rev. 8151)
(09-26-2015 03:03 PM)komame Wrote:  Besides it is set initially to 1, so why the second run returns 0?
Then, if you go in edit mode and re-run the program it again will return 1.

Is it a bug?

No. It is local not to current invocation of the function, but to the current module (kinda private member). So it is normal that it stay alive between calls !
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: variable initial value - bug? (rev. 8151) - xset - 09-26-2015 04:11 PM



User(s) browsing this thread: 3 Guest(s)