Forum Post: Procedures and includes in xml-xref

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
I was curious whether I could detect from the xml-xref that an include file occurred within a procedure, so I wrote a simple program define variable i as integer no-undo initial 1. run upone ( i ). procedure upone: define input parameter j as integer no-undo. { test.i j } end procedure. In the xref-xml that comes from this, the INCLUDE reference is *before* the PROCEDURE reference and the line number of the procedure reference is at the *end* of the procedure, not where the PROCEDURE begins. There is no reference on line 5 where the procedure definition is. Is this expected behavior?

Continue reading...
 
Status
Not open for further replies.
Back
Top