Posted By: TheProgrammer | Aug 8th, 2004 @ 2:40 PM
page 1 of 1
Comments: 3 | Views: 1477
TheProgrammer
TheProgrammer
Always on edge thinking...
I wonder if the original BASIC is an interpreted language, since the original BASIC uses an interpreter rather than a compiler.

Also, what is the extension of the BASIC file? (eg. .c is for C language, then what is BASIC's)


Basic was interpreted... At least MS Basic, and the extension was .bas.

mharr
mharr
mharr
It depends.  If you used a Basic interpreter, it was interpreted.  If you used a Basic compiler, is was compiled.

This wasn't meant to be flippant.  But even back in the DOS days, Microsoft had Basic compiler (Basic PDS) that churned out real live exe's.  So if you ran a basic program by typing on the command line "basic myprog.bas", you ran an interpreter.  But you could compile a Basic program into .exe using PDS (or later, VB-DOS).
Of course the same can be said for any language, I have even seen some fairly good attempts at C interpreters.
page 1 of 1
Comments: 3 | Views: 1477
Microsoft Communities