NamespaceGetPath
NamespaceGetPath( toObj, fromNs )
Returns a reference to a list of handles, but with the exception that the first item might be the empty text, "". The list gives a namespace path that can be used to name «toObj» from within the namespace «fromNS».
The result is a reference to a list so that it can array-abstract over multiple handles. The last item in the list is always «toObj».
When the path returned is an absolute path, starting from the root, the first item is "" (the empty string). There will always be two or more items in the list.
If «fromNS» is omitted, is uses the calling context's namespace.
If «toObj» is not in the global namespace (such as with a local index), it returns Null.
When «fromNS» is not a namespace, it uses the namespace that «fromNS» is in.
See Also
Comments
Enable comment auto-refresher