forall delete_section() //@code create soma, axon, dend[3] forsec "a" insert hh forsec "d" insert pas xpanel("Updated when MechanismStandard is changed") xvalue("dend[0].g_pas") xvalue("dend[1].g_pas") xvalue("dend[2].g_pas") xpanel() objref ms ms = new MechanismStandard("pas") ms.action("change_pas()") ms.panel() proc change_pas() { forall if(ismembrane("pas")) { ms.out() } }