Testing if an Object ID exists
Posted: Thu Feb 24, 2011 2:22 pm
Is there a way to get a list of Objects of a certain type?
Say I create a Foo object, that becomes Foo[0], I create a second, and third, Foo[1] and Foo[2], then delete the second so I now have Foo[0] and Foo[2].
Is there a way to discover the existence of Foo[0] and Foo[2]?
The closest I can see is the SymChooser, but that's a GUI tool and doesn't seem to do what I need.
Say I create a Foo object, that becomes Foo[0], I create a second, and third, Foo[1] and Foo[2], then delete the second so I now have Foo[0] and Foo[2].
Is there a way to discover the existence of Foo[0] and Foo[2]?
The closest I can see is the SymChooser, but that's a GUI tool and doesn't seem to do what I need.