We are not WRC, it is developer community.
As Tom already mentioned, in Caché class is not just as routine, it is like a bunch of objects defined in %Dictionary package, methods code can be found with %Dictionary.MethodDefinition or %Dictionary.CompiledMethodDefinition, depends on the situation.
But it is possible to get a text of class like you can in Studio
%Compiler.UDL.TextServices with methods GetTextAsStream, GetTextAsFile and etc., and convert back from text to class
In versions since 2016.2 you can use export to file in UDL format with $system.OBJ.ExportUDL()
- Log in to post comments
