Anonymous user
Visualize a tree: Difference between revisions
m
→{{header|Lingo}}
(Lingo added) |
|||
Line 974:
=={{header|Lingo}}==
<lang lingo>-- parent script "TreeItem"
-- (minimal implementation with
property name
Line 999:
end</lang>
Usage:
<lang lingo>-- create a tree
root = script("TreeItem").new("root")
a = script("TreeItem").new("a")
|