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.

TRON and TROFF were made largely 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.

The TRON command entered popular culture when it was used as the name of the 1982 Disney movie, "TRON." It has been included in a subsequent movie, "TRON: Legacy," a television series, "TRON: Uprising," and two video games, "TRON: Legacy," and "TRON:Evolution." In each of these entertainments the TRON command is personified as a character that battles against evil elements in programs.

Famous quotes containing the word command:

    I, who should command a regiment,
    Do amble amiably here, O God,
    One of the neat ones in your awkward squad.
    Norman Cameron (b. 1905)