at:tutorial:metaprogramming
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:metaprogramming [2007/08/08 12:30] – stimberm | at:tutorial:metaprogramming [2008/08/01 14:31] – * tvcutsem | ||
---|---|---|---|
Line 64: | Line 64: | ||
== Expressions == | == Expressions == | ||
- | To quote a complete expression, it has to be wrapped in parantheses: | + | To quote a complete expression, it has to be wrapped in parentheses: |
< | < | ||
Line 195: | Line 195: | ||
>read: " | >read: " | ||
>> | >> | ||
- | >eval: `(1+2) in: self | + | >def result := eval: `(1+2) in: self |
>>3 | >>3 | ||
- | > | + | > |
- | >>" | + | >>" |
</ | </ | ||
Line 205: | Line 205: | ||
< | < | ||
>def o := object: { def x := 4 } | >def o := object: { def x := 4 } | ||
- | >>< | + | >>< |
>eval: `x in: o | >eval: `x in: o | ||
>>4 | >>4 | ||
</ | </ |
at/tutorial/metaprogramming.txt · Last modified: 2009/11/21 07:44 by tvcutsem