Basic Computer Programming Language Command Set

BASIC was developed in 1963 at Dartmouth College in Hanover, New Hampshire as a teaching language. The acronym BASIC stands for Beginner's All-Purpose Symbolic Instruction Code. In 1964, John G. Kemeny and Thomas E. Kurtz designed the original BASIC language at Dartmouth College in New Hampshire. Source: Wikipedia (not the basic source but the explication source, that is).

Index of Basic programming language commands

abs function

asc function

atn function

auto command

beep statement

bload command

bsave command

call statement

cdbl function

chain statement

chdir command

chr$ function

cint function

circle statement

clear command

close statement

cls statement

color statement

com(n) statement

common statement

cont command

cos function

csng function

csrlin variable

cvd function

cvi function

cvs function

data statement

data files

date$ statement

def fn statement

defint statement

defdbl statement

defsng statement

defstr statement

def seg statement

def usr statement

delete command

dim statement

draw statement

edit command

end statement

environ statement

environ$ function

eof function

erase statement

erdev($) variables

erl variable

err variable

error statement

exp function

exterr function

field statement

files command

fix function

for statement

fre function

get statement (files)

get statement (graphics)

gosub-return statement

goto statement

hex$ function

if statement

inkey$ variable

inp function

input statement

input# statement

input$ function

instr function

int function

ioctl statement

ioctl$ function

key statement

key(n) statement

kill command

left$ function

len function

let statement

line statement

line input statement

line input# statement

list command

llist command

load command

loc function

locate statement

lock statement

lof function

log function

lpos function

lprint statement

lprint using statement

lset statement

merge command

mid$ function

mid$ statement

mkdir command

mkd$ function

mki$ function

mks$ function

name command

next statement

new command

oct$ function

on com(n) statement

on key(n) statement

on pen statement

on play(n) statement

on strig(n) statement

on timer(n) statement

on error goto statement

on-gosub statement

on-goto statement

open statement

open "com(n) statement

option base statement

out statement

paint statement

palette statement

palette using statement

pcopy command

peek function

pen statement and function

play statement

play(n) function

pmap function

point function

poke statement

pos function

preset statement

pset statement

print statement

print using statement

print# statement

print# using statement

put statement (files)

put statement (graphics)

randomize statement

read statement

rem statement

renum command

reset command

restore statement

resume statement

return statement

right$ function

rmdir command

rnd function

rset statement

run command

save command

screen function

screen statement

sgn function

shell statement

sin function

sound statement

space$ function

spc function

sqr function

stick function

stop statement

str$ function

strig statement

strig(n) statement

string$ function

swap statement

system command

tab function

tan function

time$ statement

timer function

troff command

tron command

unlock statement

usr function

val function

varptr function

varptr$ function

view statement

view print statement

wait statement

while-wend statement

width statement

window statement

write statement

write# statement

Error Codes and Messages

Mathematical Functions

ASCII Character Codes

Assembly Language

Converting Programs


Hexadecimal Equivalents

Key Scan Codes

Characters Recognized

Creating and using files

Constants, Variables, Expressions and Operators