Fixed code indentation in procs.txt
Now matches tut2.txt
This commit is contained in:
parent
ccb9ae2d52
commit
9d3b2d1e05
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ dispatch.
|
||||||
result.a = a
|
result.a = a
|
||||||
result.b = b
|
result.b = b
|
||||||
|
|
||||||
echo eval(newPlus(newPlus(newLit(1), newLit(2)), newLit(4)))
|
echo eval(newPlus(newPlus(newLit(1), newLit(2)), newLit(4)))
|
||||||
|
|
||||||
In the example the constructors ``newLit`` and ``newPlus`` are procs
|
In the example the constructors ``newLit`` and ``newPlus`` are procs
|
||||||
because they should use static binding, but ``eval`` is a method because it
|
because they should use static binding, but ``eval`` is a method because it
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue