Next: How to select only
Up: Tips and Hints
Previous: How to enquire node
Contents
How to write values to a file
When you need to write certain values (see ``valu'') to a file you may use the 'echo' system command:
- Choose the relevant dataset (menu or ds command)
- Add the relevant nodes to a set (qadd setname or seta setname n ..)
- Open the stack: stack on
- Place node-values on the stack: prnt se setname
- Store the node: valu nod1 pop
- Store the value: valu val1 pop
- Write to file: sys echo Node nod1 Value val1
>|
file.txt
See also ``if'' and ``while'' and see the demo in ``If and while demo'' on how to work with this commands. They are usefull for automatic post-processing.
root
2016-03-04