Print debugging statement: Difference between revisions

Content added Content deleted
(→‎{{header|REXX}}: added the REXX computer programming language for this task.)
m (→‎{{header|REXX}}: added a comment in the REXX section header.)
Line 201: Line 201:
There are other options for the REXX's   '''trace'''   instruction,   but the   '''i'''   is the most informative and
There are other options for the REXX's   '''trace'''   instruction,   but the   '''i'''   is the most informative and
<br>shows intermediate results within a REXX statement as it's being evaluated.
<br>shows intermediate results within a REXX statement as it's being evaluated.

The first number &nbsp; (for the &nbsp; '''trace''' &nbsp; output) &nbsp; is the line number for the REXX program.
<br>Blank lines are not &nbsp; ''traced''.
<lang rexx>/*REXX program to demonstrate debugging (TRACE) information while executing a program*/
<lang rexx>/*REXX program to demonstrate debugging (TRACE) information while executing a program*/
/*────────────────────────────────────────────── (below) the I is for information. */
/*────────────────────────────────────────────── (below) the I is for information. */