Re (4): [Oberon] n-o trap analysis confuses me

edgar at edgarschwarz.de edgar at edgarschwarz.de
Thu Apr 1 22:14:05 CEST 2004


Hi Chris,
> Happily the trap is now back:-
> TRAP -14  NIL reference ( 00000014H ) (PC Native 11.10.2001)
> HTMLImages.ImgIcon  PC = 5551
> 	key = 2040
> 	keyAttr = "IMGKey"
> HTMLImages.IMG  PC = 7583
Some code:

>  obj := Gadgets.FindPublicObj("Icons.Picture");
Probably original error location.
>  Links.GetLink(obj, "Model", obj);
Doesn't references 'obj'.
>  C.id := Objects.shallow; Objects.Stamp(C); <-- var-par
>  C.dlink := NIL; C.obj := NIL; obj.handle(obj, C);
                                ^ error position: obj = NIL
                                
Cheers, Edgar




More information about the Oberon mailing list