Vanguard Software
Forecasting & Planning Solutions

contents.gifindex.gifprev1.gifnext1.gif

selectednode

Format: selectednode( all )

Arguments: (bool) all Optional flag indicating if all selected nodes should be returned, false = primary node only, true = all selected nodes; default = false

Returns: (text) Name of the currently selected tree node(s) in the active tree or null if no node is selected

Description: Use this primitive to create custom menu entries in the Tools menu group that modify selected nodes.

The node returned by this primitive does not necessarily exist in cases where the user has highlighted an undefined node.

Examples: remove(selectednode) = deletes the selected node

eval(selectednode+":=nrand") = redefines the selected node

See Also: all, treelist, rootnode, endnodes, inputs, outputs

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Analysis  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Customer Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2010 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend