Jim Hawkins Dartmouth+ BASIC Interpreter V 3.0 2022

  1. Download the BASIC executable (for Windows console)
  2. Copy the executable into a folder of your choice, preferably something like c:\bp or d:\bp There is NO formal installation sequence. It does not run dlls or put anything in the Windows registry
  3. Right click on the dbasic2022C.exe and send it to your desktop and/or pin it to your task bar. The icon is very ordinary as it is for a console application.
  4. For now, save all your programs in this folter. It IS possible to put them anywhere you want, but, intially this is the easiest and requires just a save <filename>. The .bas will be tacked on to load files, use old <filename>
  5. When you click to run BASIC, it will open up a tiny, hard-to-read console window. Click on the upper left icon of the window, select the Font tab and set the font size to 24 or 28. Once set, it will always open using this setting.
  6. Please read the PREFACE of the PDF manual carefully. It should help you get started. The commands or statement meaning are in the text.


Click HERE for dbasic2022C.exe

Updated 5/11/2022

* WITH MATRIX FUNCTIONALITY
* USER DEFINED FUNCTION
* restore <line number>

PDF Manual

Updated 5/11/2022

 


Contact me: basiclang @ j-hawkins.com
USE ABOVE WITHOUT SPACES



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