TreeExpress

With TreeExpress you can organize and calculate data and save/load it.

Insert a TreeExpress in your HTML document with:

<PANEL NAME="sotree" SRC="treeview" WIDTH=400 HEIGHT=300>

Of course WIDTH and HEIGHT can be any value you like.

When the TreeExpress is focused you can use the following shortcut keys:

In addition you can drag and drop tree nodes to a new position.

Calculations

With TreeExpress you can do calculations by entering formulas in tree nodes.

Whenever you press the Enter key, TreeExpress recalculates all the formules in the Tree. Formules have = in the TreeNode text and can contain references to TreeNodes, arithmetic operators +,-,*,/,^,MOD and functions.

Expression can use brackets and TreeNode references: =(cars+3)/34

For the above statement to work there must be a TreeNode that has the cars= text.

The following functions are supported:

ABS, ATAN, COS, EXP, LN, ROUND, SIN, SQRT, SQR, TRUNC

Functions require an argument between brackets: =sin(angle)

The following constant is supported: PI or pi

Before the actual recalculation starts the whole Tree is scanned for variable names. Variable names end with an = like:

cars=

When a TreeNode contains a formule, the result of that formule is stored in its First ChildNode. If that ChildNode does not yes exist, it will be created during the recalculation process.