Rules for the PRINT statement?

 

Are there any rules of where one can place a PRINT statement and where not? I find that sometimes the ST does not see the PRINT statement until I move it to another position. But that presents a problem because I want to see the values of certain variables st a particular place in the execution of the program.

So are there any rules where one can place the PRINT statement?

 
No. (Except not on global scope.)
 
Ernest Klokow:

Are there any rules of where one can place a PRINT statement and where not? I find that sometimes the ST does not see the PRINT statement until I move it to another position. But that presents a problem because I want to see the values of certain variables st a particular place in the execution of the program.

So are there any rules where one can place the PRINT statement?

When you print too many lines, ST may not show all... but if you check the log (right click -> view), all lines should appear.

Reason: