Changes for page Mission Director Guide

Last modified by Klaus Meyer on 2025/03/31 16:39

From version 32952.1
edited by Daniel Turner
on 2023/08/22 18:57
Change comment: There is no comment for this version
To version 32953.1
edited by Daniel Turner
on 2023/08/22 18:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1231,4 +1231,10 @@
1231 1231  
1232 1232  {{warning}}Although in general the expression "$foo == namespace.$foo" is true, there is one exception: When library parameters are evaluated in the referencing cue, variables are resolved using the parent's namespace. However, the referencing cue creates a new namespace, so the namespace keyword already points to the library, not to the parent's namespace. Example:
1233 1233  
1234 -<code language="xml"><cue name="LibRef" ref="Lib"> <param name="Param1" value="$foo" /> <!-- $foo from parent namespace --> <param name="Param2" value="namespace.$foo" /> <!-- LibRef.$foo (error) --></cue></code>{{/warning}}
1234 +{{code language="xml"}}
1235 + <cue name="LibRef" ref="Lib">
1236 + <param name="Param1" value="$foo" /> <!-- $foo from parent namespace -->
1237 + <param name="Param2" value="namespace.$foo" /> <!-- LibRef.$foo (error) -->
1238 + </cue>
1239 + {{/code }}
1240 +{{/warning}}