go to post Ed de Moel · Jan 9, 2023 Set count=0,row="" For { Set row=$Order(^test(row)) Quit:row="" Set count=count+1 }
go to post Ed de Moel · Dec 15, 2022 Oh yes, while the offset from the beginning is meaningful in a .mac or .int routine, within a .cls, it's a mostly meaningless number, whereas the offset from the start of the current method is the meaningful one there. When using the "MCODE" feature, it does indeed help if there is something else in that line that is worth tracing...
go to post Ed de Moel · Dec 15, 2022 Write $Stack($Stack,"PLACE") Or, if you're really interested in the code at that line: $Stack($Stack,"MCODE")