Whenever I assign a value to a global variable, my
compiler has to output code such as:
find_global $P0, "thingy"
setref $P0, something
store_global "thingy", $P0
This is because it doesn't know if the global 'thingy'
al;ready exists, and if it doesn't, the Undef that
find_global returns won't actually be stored in the
symbol table. Therefore I always need to store it
there. It would be nice if I could say
find_or_create_global $P0, "thingy"
that would store the returned Undef in the symbol
table if it didn't already exist.
Is this a good idea? I can write the patch.
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail