tstop = 100
And I would have thought, even if I didn't explicitely state what tstop was, it would have the defulat value of 5. Yet when I tried
Code: Select all
begintemplate SE_NetStim
public pp
objref pp
proc init() {
pp = new NetStim()
pp.interval = $1
pp.number = $1*tstop*2
pp.start = $2
pp.noise = 1
}
...
endtemplate SE_NetStim
nrniv: undefined variable tstop
Are templates considered before everything else? Is there a way to get around this?