Visualize a tree: Difference between revisions

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