Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

API / opcode behavior change - find_global/get_global

0 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Leopold Toetsch

ungelesen,
15.01.2006, 14:57:0515.01.06
an 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 neue Nachrichten