Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

API / opcode behavior change - find_global/get_global

0 views
Skip to first unread message

Leopold Toetsch

unread,
Jan 15, 2006, 2:57:05 PM1/15/06
to p6i Internals
* iff global lookup exceptions are off, a Null PMC is returned instead
of
Undef on lookup failure

This is necessary as a global .Undef with that global name could still
exist, but the difference WRT non-existing global isn't even testable
with 'defined'. Now ...

g = global 'foo'
if null g goto g_doesn_exist

... works for defined but .Undef vars too.

leo

0 new messages