fbpx
Wikipedia

TRON command

TRON is a debugging command in old dialects of the BASIC programming language. It is an abbreviation of TRace ON. It was used primarily for debugging line-numbered BASIC GOTO and GOSUB statements. In text-mode environments such as the TRS-80 or DOS, it would print the current line number which was being executed, on-screen. In a windowed environment, when the TRON command had been executed, a window would indicate the line number being executed at that instant. This command's opposite is TROFF, or TRace OFF, used to turn off command tracing.[1]

TRON and TROFF were made obsolete by the advent of multitasking windowing environments, which permit a developer to switch back and forth between program output and source code. Modern IDEs take advantage of this to allow far more sophisticated debugging (line-by-line step-through execution of source code, examination/modification of variables, etc.). As a result, TRON/TROFF are no longer supported by most current BASIC dialects, including Microsoft Visual Basic.

References edit

  1. ^ . QBASIC News. 1988. Archived from the original on 2017-04-11. Retrieved 2013-02-17.


tron, command, troff, redirects, here, document, processing, system, troff, other, uses, tron, disambiguation, tron, debugging, command, dialects, basic, programming, language, abbreviation, trace, used, primarily, debugging, line, numbered, basic, goto, gosub. TROFF redirects here For the document processing system see troff For other uses see Tron disambiguation TRON is a debugging command in old dialects of the BASIC programming language It is an abbreviation of TRace ON It was used primarily for debugging line numbered BASIC GOTO and GOSUB statements In text mode environments such as the TRS 80 or DOS it would print the current line number which was being executed on screen In a windowed environment when the TRON command had been executed a window would indicate the line number being executed at that instant This command s opposite is TROFF or TRace OFF used to turn off command tracing 1 TRON and TROFF were made obsolete by the advent of multitasking windowing environments which permit a developer to switch back and forth between program output and source code Modern IDEs take advantage of this to allow far more sophisticated debugging line by line step through execution of source code examination modification of variables etc As a result TRON TROFF are no longer supported by most current BASIC dialects including Microsoft Visual Basic References edit TRON and TROFF Statements Details QBASIC News 1988 Archived from the original on 2017 04 11 Retrieved 2013 02 17 nbsp This computer programming related article is a stub You can help Wikipedia by expanding it vte Retrieved from https en wikipedia org w index php title TRON command amp oldid 1059683996, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.