© 2024 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
Initial Release
Removes system ($) methods from the codebase. InterSystems Caché utility.
.$
with .<something of your choice>
(.%
by default)$
%Object
to %DynamicObject
etcImport classes and call one of the entry points:
s st = ##class(SMR.Main).RemoveFromAllClasses(Replace, Capitalize)
- for all user classes
s st = ##class(SMR.Main).RemoveFromSubclassesOf(Class, Replace, Capitalize)
- for subclasses
s st = ##class(SMR.Main).RemoveFromMatchingClasses(Mask, Replace, Capitalize)
- for LIKE SQL
Arguments:
Replace
- what to replace $
with (%
by default but, for example, you can specify $$$
)Capitalize
- capitalize the letter after $ (boolean, yse by default)Class
- class which subclasses the utility would try to convert (including the class)Mask
- passed into the SQL query SELECT ID FROM %Dictionary.ClassDefinition Where ID LIKE ?
More docs are in the code docs. The utility works only in a current namespace.
Works in 2016.2 Field Test or later.