variable initial value - bug? (rev. 8151)
|
09-26-2015, 03:03 PM
Post: #1
|
|||
|
|||
variable initial value - bug? (rev. 8151)
Hi,
I created very simple program. It just returns value of k variable, which is initially set to 1. After first execution it returns 1 (as expected), but when it runs second time (without editing and compiling) it returns 0. The k variable is local, so it should not remember value after program finishes. 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? Code: local k=1; BR, Piotr |
|||
« 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: 4 Guest(s)