How To Call different Namespace Class method From Different Namespace in Iris + Intersystems code example
Example: How To Call different Namespace Class method From Different Namespace in Iris + Intersystems
WRITE "before: ",$NAMESPACE,!
DO Test
WRITE "after: ",$NAMESPACE,!
QUIT
Test
NEW
SET $NAMESPACE="USER"
WRITE "testing: ",$NAMESPACE,!
; routine code
QUIT