Al,

Actually, I think that Carlos is referring to the programming structure
of a binary tree.  This is a programming construct with parents and
children, where each parent can have only two child nodes.  It's a big
thing with those C++ computer science classes I hear. :P

While I don't have a ton of experience in programming trees, rather a
cursory knowledge, my best guess would be to use objects.  You could
easily have a "node" object that referenced who its parent was, and
properties like "left" and "right".  

Basically, if you have code already developed in C++, you should be able
to port it to Lingo using Director's programming constructs.

However, without knowing a lot more about n power trees, I can't help
much more.

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group



-----Original Message-----
Hi,

You don't say what you mean by a tree... <grin> If you mean a plant,
then I don't know. If you mean the tree view of data, then I suggest
using an Xtra such as the TreeView Xtra from UpdateStage.
<SNIP>


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to