> I am trying to dynamically create an array of objects and this
> works fine for toggle, e.g
> a = patcher.newobject("toggle",122,90,15,0);
> but how do you create a newobject for "Number Box" as it fails e.g
> a = patcher.newobject("Number Box",122,90,15,0);
try "number" instead.
and you will need some more arguments.
to find out about the format you can open a max patch as text and
inspect the argument list of the objects.