|
| ||||||||||||
_subject .
next_method also accepts
keyed arguments so arguments can be explicitly passed in.
<next_method arg1=10/>
If you don't want to pass in an argument, then use the
opt value for the argument.
<next_method arg1=opt/> <class foo gg=100>
<method buy x=req y=2>
<plus x y _subject.gg/>
</>
<class subfoo gg=20>
<method buy x=1 y=2 z=4>
<set x=8 zzz=true/>
<vector
<next_method y=opt/> <!-- same as next line -->
.<<do foo.buy/> x=x/>
<next_method x=x.<plus 1/>/>
/>
</>
</>
</>
foo.subfoo.<buy y=10/>![]() | <v 30 30 39/> |
next_method also works within make .
<class boat color=opt>
<method make>
.<set color="blue"/>
</>
<class canoe>
<method make>
<next_method/>
</>
</>
</>
boat.<canoe/>![]() | <boat.canoe color="blue"/> |
© Copyright 2007 Clear Methods, Inc.