A class (and routine) definition can sometimes differ from it's compiled state.
When such a thing occurs, a "+" sign will be shown in the tab of the file opened in Studio.
I would like to do the same check programmatically.
For routines, it's very simple :
set routine=##class(%Routine).%New(name)
write routine.UpToDateFor classes, I could not find the equivalent. The only solution I found so far is to compare the compilation date and definition date :
set classCompiled = ##class(%Dictionary.CompiledClass).%OpenId(name)
set classDefinition = ##class(%Dictionary.Class



.jpg)
.png)
.png)
.png)
.png)

.png)

.png)

