1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 23:15:15 +00:00
qb64/internal/help/TRON.txt
Luke Ceddia b586eafd3b Integrated _BLINEINPUT into regular LINE INPUT for BINARY files
LINE INPUT will now use the faster method if passed a file handle
that has been opened FOR BINARY. As such, the _BLINEINPUT command
has been removed.

qb64.bas now takes advantage of this for reading from '$include files,
at least in Include Manager 1. Some tweaking of internal/source/main.txt
was required to get things into a sane state, so I'm holing off changing
the compiler any further so the auto-builder can make sure everything's
smoothed over.

Note: Everything should still compile as normal; I'm just being overcautious.
2014-07-27 00:06:17 +10:00

34 lines
878 B
Plaintext

The {{KW|TRON}} statement turns on line number tracing.
{{PageSyntax}}
:<code>{{KW|TRON}}</code>
{{PageDescription}}
*'''[[Keywords currently not supported by QB64|Currently NOT supported in QB64!]]'''
* When line number tracing is on, the line numbers of statements are output immediately before they are executed.
* Use {{KW|TROFF}} to turn off line number tracing.
* Line number tracing only has an effect when programs are compiled with debugging code (<tt>BC.EXE /D</tt>).
{{PageExamples}}
:Demonstrates simple line number tracing:
{{CodeStart}}1 {{Cl|TRON}}
2 {{Cl|FOR...NEXT|FOR}} n% = 1 {{Cl|TO}} 3
3 {{Cl|PRINT}} "inside loop"
4 {{Cl|FOR...NEXT|NEXT}} n%
5 {{Cl|TROFF}}
{{CodeEnd}}
{{OutputStart}}[2][3]inside loop
[4][3]inside loop
[4][3]inside loop
[4][5]
{{OutputEnd}}
{{PageSeeAlso}}
* {{KW|TROFF}}
{{PageNavigation}}