Assignement return value

Marko Mikulicic mmikulicic at full-moon.com
Sun Sep 10 04:17:25 UTC 2000


Hello,

can anybody with a running self system evaluate this expression:

    ( | method = ( | a | a: 3 ) |  ) method

Under JSelf it returns nil. This means that the assignement primitive in

expression "a: 3" returns the
"self" and not the new value of "a". Is this correct ?

and:   ( | method = ( | a | a: (a: 3) . a ) |  ) method

  should return also "self". (JSelf can't execute this one).

thanks


Marko




More information about the Self-interest mailing list