How to judge wheter an object is existing or not
Thanks Dave. But if findShape() can find some shape, I would like to
get that Shape rather than just get the "True" value.
The problem is that when no shape can be found, the findShape() gets a
run-time error, and when some shape is found, the T/F judgement get an
error.
|