TROFF - QB64 Wiki

TROFF

From QB64 Wiki

Jump to: navigation, search

The TROFF statement turns off line number tracing.


Syntax:

TROFF


Description:

  • Currently NOT supported in QB64!
  • When line number tracing is on, the line numbers of statements are output immediately before they are executed.
  • Use TRON to turn on line number tracing.
  • Line number tracing only has an effect when programs are compiled with debugging code (BC.EXE /D).


Code Examples:

Demonstrates simple line number tracing:

1 TRON 2 FOR n% = 1 TO 3 3 PRINT "inside loop" 4 NEXT n% 5 TROFF

[2][3]inside loop [4][3]inside loop [4][3]inside loop [4][5]


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version