Is it possible to include another environment dynamically?
2 answers
I am trying to build a project that can include another environment based on some condition.
I do not see any .dot command reference that include another environment.
Can someone suggest a better way?
Thanks
you can use .bset.
.bset env ".include=includedENVgroup"
in 7.0.x the env include syntax wasn't a pulldown, it was configured by setting the variable name to '.include' and the value to the name of the group to include. In 7.1 that was hidden from the user with the variable type pulldown. It can still be set under the covers using .bset
I am trying to build a project that can include another environment based on some condition.
I do not see any .dot command reference that include another environment.
Can someone suggest a better way?
Thanks
you can use .bset.
.bset env ".include=includedENVgroup"
in 7.0.x the env include syntax wasn't a pulldown, it was configured by setting the variable name to '.include' and the value to the name of the group to include. In 7.1 that was hidden from the user with the variable type pulldown. It can still be set under the covers using .bset
Thanks. this helps alot.