Hi,

I am trying to throw an error on a type mismatch through an assignment operator.

    ex = new 'Exception'
    ex['severity'] = .EXCEPT_ERROR
    ex['message'] = "Type mismatch in assignment!"

I can't find a away of leaving the user with a code line number is
this possible?

I have tried trying to grab '$/' to with no success any ideas?

Thanks for your help,

Rob
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to