Loop macro, get information inside Follow
Hi Mps-Team,
i have a situation where i do not find a simple solution.
i have a $LOOP$ macro around a statement $LOOP$[->[localvariable].->[setterMethod()];]
As can be seen, there are two reference macros. The last reference can simply calculated from the single input-model nodes, the loop macro is providing.
but the first reference macro needs information outside the loop... however, the information can not be retrived by using ancestor<>...
how can i set e.g. a string, when calculating the $LOOP$ and pass it to the first reference?
or is there a better solution to this problem?
Dan
i have a situation where i do not find a simple solution.
i have a $LOOP$ macro around a statement $LOOP$[->[localvariable].->[setterMethod()];]
As can be seen, there are two reference macros. The last reference can simply calculated from the single input-model nodes, the loop macro is providing.
but the first reference macro needs information outside the loop... however, the information can not be retrived by using ancestor<>...
how can i set e.g. a string, when calculating the $LOOP$ and pass it to the first reference?
or is there a better solution to this problem?
Dan
Please sign in to leave a comment.
You can use $VAR$-macro:
Then you can use the outside var in queries:
Regards,
Mihail