Hello
Thanks Russ, seems that even though i tried to use your iwp9 2007 talk as a
reference, i missed the point, i should read more carefully.
gabi
>>> print("f->mb=", f->mb\X," =? mb=",mb\X,"\n");
>>> f=f->next;
>
> Always use . (never ->) in acid.
>
>
hello
thank you very much Erik, I'll look at that code today night, i hope to see
the light soon ☺
gabi
> While understanding how refs work inside nupas, i decided to try to implement
> the same function nupas has to find mailbox references in acid langauge, so i
> did:
>
> defn findmboxref
>> print("f->mb=", f->mb\X," =? mb=",mb\X,"\n");
>> f=f->next;
Always use . (never ->) in acid.
If f is a pointer, then the acid expression f.mb
is like the C expression (*f).mb aka f->mb.
The acid expression f->mb is like the C expression (**f).mb.
By using
> While understanding how refs work inside nupas, i decided to try to implement
> the same function nupas has to find mailbox references in acid langauge, so i
> did:
>
> defn findmboxrefs(mb,fids) {
> local f, refs;
> f=fids;
> while f!=0 do {
> print("f=", f\X,"