Ed de Moel · Jan 9, 2023 go to post

Set count=0,row="" For  { Set row=$Order(^test(row)) Quit:row=""  Set count=count+1 }

Ed de Moel · Dec 15, 2022 go to post

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...

Ed de Moel · Dec 15, 2022 go to post

Write $Stack($Stack,"PLACE")

Or, if you're really interested in the code at that line:
$Stack($Stack,"MCODE")