Search found 2 matches

by chris
Wed Jun 08, 2016 8:55 am
Forum: NEURON hacks
Topic: using name_declared in if statement
Replies: 2
Views: 6037

Re: using name_declared in if statement

Thanks!
by chris
Tue Jun 07, 2016 9:34 am
Forum: NEURON hacks
Topic: using name_declared in if statement
Replies: 2
Views: 6037

using name_declared in if statement

so I was testing some code when I came across a strange circumstance... if I do if(name_declared("newvar")!=5){ newvar = 10 } newvar has a value of 0 after this code! I am not really sure what is going on as anything inside the if statement does not seem to be executed, but newvar is "declared" (to ...