load_file("nrngui.hoc")
create soma
access soma

objref nclist, syn, gen[3]

xopen("ampa.ses")

proc con() {
	nclist = new List()
	syn = AMPA_S[0]
	for i=0, 2 {
		gen[i] = SpikeGenerator[i]
		nclist.append(new NetCon(gen[i], syn, -20, 1, 1))
	}
}
con()
