|
|
Click HERE for db.exe |
Updated 2/5/2023 |
* WITH MATRIX FUNCTIONALITY * USER DEFINED FUNCTION * restore <line number> * print using * diff("<equation>","<variable name>", <numeric point of differentiation> |
|
Updated 2/5/2023 |
||
|
db.exe (For Dartmouth Basic) |
||
| Commands and statements extended beyond Dartmouth BASIC | |
| goto=less code: if-endif if-else-endig while for-next break and continue |
|
| Matrix arithmetic and commands | |
| Formatted printing print-using fnumber$ string function |
|
| Allows variables as goto and gosub line numbers | |
| numeric derivative at a point | |
| time time command time$ string function |
|
| define function with up to 6 variables | |
| input with optional string prompt | |
| renumber and mov | |
| limited c-language style printf | |
| substitute line editing command | |
| restore with specific line number target | |
| ASCII table listing commsnd | |
| string arrays with up to 3 dimensions | |
| avg function | |
| complex numbers algebra and arithmetic | |
| sum function | |
| prod function | |
| call <overlay>,<start number> | |
| on <expr> goto on <expr> let on <expr> call |
|
BASIC DEMO PROGRAMS |
|
| Solves four simultaneous equations using matrices | mat4d.bas |
| Nine demo tests for matrix functionality | mattestall.bas |
| Three demo tests of user defined functions: Nesting functions, Multiple variable functions | fnnestx.bas |
| Using user defined functions to find roots of quadratic equation by trial and error, varying 'x' and 3 constants: y = a1x2+a2x+a3 | polyloop.bas |
| Fahrenheit to Celsius dual column table using single dimension array. | f2ctable.bas |
| Three simultanious equation solutions using 3X3 Determinants. Two dimentional array used for row and column. | det3d.bas |
| Generates square, sawtooth and triangle wave using Fourier harmonic series. | wave.bas |
| Tests while loops for string and numbers. | whiletest.bas |
| Standard deviation and linear regression | sdeviation.bas |
| Opens a file for output, writes to it, closes it, then opens the same file for append and adds to it. If an append is done to a non-existant file, it will create a file. | appendfile.bas |
| Test and demonstration of nested if-then-else code structures and demonstration of simple logic tests for "and" and "or" operators. | ifelse.bas |
| Tests print using with all current features (not full ANSI set) | usingtest.bas |