# fixed plus single named param - errors class OptParam def main is shared x = OptParam() x.call = 0 x.foo('default', badName = 44) # .error. no parameter assert x.call == 44 var call = 0 def foo(s as String, nmd as int) #print s,i .call = nmd