Cory Spencer [EMAIL PROTECTED] wrote:
Is is possible to check to see whether an attribute exists on a given
object, or at least catch an exception if it doesn't? I've tried to set
up an exception handler, but Parrot exits without anything being caught.
Not yet. Cgetattribute throws currently
Is is possible to check to see whether an attribute exists on a given
object, or at least catch an exception if it doesn't? I've tried to set
up an exception handler, but Parrot exits without anything being caught.
A code snippet follows:
.sub _main
.local pmc class
.local int type