For example I have created 2 objects in a Type and I want to display the amount. Is the only option to create a global variable and increment it when creating a new object?
Example:
Example:
Type model field mesh End Type m.model = new model m\mesh = blah m.model = new model m\mesh = blah ;main----------- Text 10,10,"Number of models: "+ ????