I want to use a macro to display all child nodes from a current node.
The current node is a Mega object of a MegaClass.
That is why I use a funkcion, which goes recursive through the tree.
If I use a globale variable to save child nodes, it will display ALL nodes from the whole tree.
It would be nice, if somebody could help me.
I don't completely understand what you try to achieve or where do you need help with. Can you be a bit more specific, maybe with an example of the nodes you are talking about?