InterSystems 常见问题FAQ
要编译包含映射修饰符的类rountine,请指定编译器修饰符“/mapped=1”或“/mapped”。例如,执行以下操作:
[示例 1] 获取类列表并编译
do $System.OBJ.GetClassList(.list,"/mapped")
// build your classes starting from .list
do $System.OBJ.Compile(.list)
ObjectScriptObjectScript
[示例 2] 编译所有类
do $system.OBJ.CompileAll("/mapped")
ObjectScriptObjectScript