A class will always run in the current context, that being the current namespace. You can, however, programmatically switch namespaces to change the context you are running in. The command to do this is
$XECUTE 'ZNSPACE "new namespace"'
Just be sure to switch back to the namespace you started from when that section of code is complete.
Richard S Taylor
Sales Engineer
InterSystems Corporation
Office: 443-340-8614
FAX: 440-815-5805
thanks,
Rich
--
You received this message because you are subscribed to the Google Groups "InterSystems: MV Community" group.
To post to this group, send email to Cac...@googlegroups.com
To unsubscribe from this group, send email to CacheMV-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/CacheMV?hl=en