Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
TI BASIC (TI 99/4A)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Editing and running=== Unlike most BASICs of the era, TI BASIC did not provide a [[Full-screen writing program|full-screen editor]]. Instead, a [[line editor]] was provided, which allowed the user to add or edit one line at a time. Explicit line numbers were used to order each statement. It used a {{code|>}} prompt to indicate the current new line in [[direct mode|immediate mode]], as opposed to the more common {{code|READY}}.{{sfn|Guide1981|p=II-5}} Line numbers ranged from 1 to 32767, inclusive, and entering a line outside that range resulted in the "BAD LINE NUMBER" error.{{sfn|Guide1981|p=II-8}} Line entry was aided by the {{code|NUMBER}} command, available only in immediate mode, which entered ascending line numbers,{{sfn|Guide1981|p=II-26}} and {{code|RESEQUENCE}}, which renumbered an existing program.{{sfn|Guide1981|p=II-27}} TI BASIC also included a number of [[debugging]] commands. {{code|BREAK}} worked something like {{code|STOP}}, stopping execution on certain lines. Unlike {{code|STOP}}, the exit to immediate mode did not occur on the line where {{code|BREAK}} appeared, but on the lines {{code|BREAK}} referred to. For instance, {{code|BREAK 130}} would cause the program to exit to immediate mode whenever it moved to line 130. This could be used, for example, by inserting a single {{code|BREAK}} at the top of the program to control execution, rather than having to insert a {{code|STOP}} in the middle of the code. {{code|UNBREAK}} turned off existing breakpoints.{{sfn|Guide1981|p=II-33}} Additionally, {{code|TRACE}} printed out the line number of the currently executing line in angle-brackets: {{code|<100><110>}} etc, and {{code|UNTRACE}} turned it off.{{sfn|Guide1981|p=II-36}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)