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? 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 ! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
variable initial value - bug? (rev. 8151) - komame - 09-26-2015, 03:03 PM
RE: variable initial value - bug? (rev. 8151) - DrD - 09-26-2015, 03:19 PM
RE: variable initial value - bug? (rev. 8151) - komame - 09-26-2015, 03:22 PM
RE: variable initial value - bug? (rev. 8151) - DrD - 09-26-2015, 04:09 PM
RE: variable initial value - bug? (rev. 8151) - xset - 09-26-2015 04:11 PM
RE: variable initial value - bug? (rev. 8151) - Tim Wessman - 09-26-2015, 04:33 PM
RE: variable initial value - bug? (rev. 8151) - komame - 09-26-2015, 06:24 PM
RE: variable initial value - bug? (rev. 8151) - Tim Wessman - 09-26-2015, 06:58 PM
RE: variable initial value - bug? (rev. 8151) - cyrille de brébisson - 09-28-2015, 06:55 AM
|
User(s) browsing this thread: 3 Guest(s)