HOME

TheInfoList



OR:

TRON is a
debugging In computer programming and software development, debugging is the process of finding and resolving '' bugs'' (defects or problems that prevent correct operation) within computer programs, software, or systems. Debugging tactics can involve in ...
command in old dialects of the
BASIC programming language BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of General-purpose programming language, general-purpose, high-level programming languages designed for ease of use. Dartmouth BASIC, The original version was created by John ...
. It is an abbreviation of ''TR''ace ''ON''. It was used primarily for debugging line-numbered BASIC
GOTO GoTo (goto, GOTO, GO TO or other case combinations, depending on the programming language) is a statement found in many computer programming languages. It performs a one-way transfer of control to another line of code; in contrast a function ca ...
and GOSUB statements. In text-mode environments such as the
TRS-80 The TRS-80 Micro Computer System (TRS-80, later renamed the Model I to distinguish it from successors) is a desktop microcomputer launched in 1977 and sold by Tandy Corporation through their Radio Shack stores. The name is an abbreviation of '' ...
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 ''TR''ace ''OFF'', used to turn off command tracing. 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 Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washing ...
Visual Basic Visual Basic is a name for a family of programming languages from Microsoft. It may refer to: * Visual Basic .NET (now simply referred to as "Visual Basic"), the current version of Visual Basic launched in 2002 which runs on .NET * Visual Basic (cl ...
.


References

BASIC commands {{compu-prog-stub