Any value = parameters[1];
try {
AnyList list = new AnyList();
Enumeration e = _dim.elements();
while(e.hasMoreElements()) {
Synapse synapse = (Synapse)e.nextElement();
Any cand = synapse.checkVariable(name);
if (cand.isDefined()) {
if (cand.equals(value)) {
list.append(new AnySynapse(synapse));
}
}