At 10:25 AM -0500 4/2/02, Jason Gloudon wrote:
>On Tue, Apr 02, 2002 at 01:33:59AM -0500, Michel J Lambert wrote:
>
>> If instead, registers are aliased onto traditional memory variables, such
>> that a PMC pointed to by a register is *also* pointed to by a stash
>> somewhere, then it's a bit harder.
>
>I believe this is the desired scheme.
It is. Registers are temporary copies of pointers, integers, or
floats. If you do this:
fetchlex P0, "$bar"
add P0, P0, 5
then $bar should *immediately* be 5 greater than whatever it was. The
only time you should need to explicitly call storelex is when you're
putting a new PMC into a named slot.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk