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
Dartmouth BASIC
(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!
===Third Edition=== The Third Edition, released in 1966 and the first to use the "edition" naming, was the first designed specifically with the intent of running on the new GE-635 computer which was due to arrive shortly. This version includes the <code>MAT</code> functions from CARDBASIC, and they can now use 0 as a subscript.{{sfn|Kurtz|1981|p=527}} The new <code>SGN</code> function gave the sign of its argument (positive?0 and negative?1), while <code>RESTORE</code> was added to "rewind" the position of <code>READ/DATA</code>. The exponentiation problem was fixed, so {{code|-X^2}} would be interpreted as {{code|-(X^2)}}.{{sfn|Kurtz|1981|p=527}} Additionally, the <code>INT</code> function was changed to be a true floor, as opposed to trim-toward-zero, which allowed rounding to be implemented with <code>INT(X+0.5)</code>.{{sfn|Kurtz|1981|p=524}} The major change in this version was the new <code>INPUT</code> statement, which parsed numeric values, making the language truly interactive during execution for the first time; previously the only control one had during execution was to type <code>STOP</code> in the monitor. Additionally, the system now allowed, and encouraged, loops to be indented, a feature that was not seen on most other versions of BASIC.{{sfn|Kurtz|1981|p=528}}
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)