newSynapse=new Exp2Syn(0)
in the following function definition.
Code: Select all
func makeSynapse() { local newSynapse
newSynapse=new Exp2Syn(0)
newSynapse.tau1=0.05
newSynapse.tau2=0.1
newSynapse.e=-30
return newSynapse
}
And another question...
Is it possible to pass as an argument to a function or procedure a 2-D array? I have experimented but it seems that it needs something special, if it can be done.
Thanks in advance