gwbasic
If it was not the last, GW-BASIC was certainly the most advanced evolution of the original, line-numbered, first-generation Microsoft BASIC-80. Its original source-code has been open by Microsoft and it has at least one modern, open-source implementation for modern operating systems, so it can still be considered an active BASIC which can make old-time programmers "feel at home".
GW-BASIC's interpreter was an executable in the MS-DOS floppy disk which could be started from DOS with gwbasic
. Command-line options could be given to redirect input or output, to set the maximum number of open files and the size of their buffers and records (like the MAXFILES keyword), to determine memory block size and highest address, and to force some mathematical functions to return double-precision values instead of single-precision values. Also, the command-line can be used for running a BASIC program file (.BAS
extension) without the REPL environment being shown.
The environment is very similar to previous Microsoft BASIC-80-derived ones: a standard REPL interface where commands and statements can be used in direct mode, or numbered lines can be entered to be stored as part of a program. Overwriting, inserting or deleting content of a listed line will change the stored contents as long as RETURN is pressed after the modification.
The bottom line of the interpreter screen shows commands or statements that can be entered by pressing function keys (Fn), just like in the MSX BASIC environment. Likewise, such shortcuts can be edited.