A simple Hello World implementation in BASIC.
brew install brandonp/homebrew-qbasic/qbasic
For Debian/Ubuntu:
sudo apt-get update
sudo apt-get install freebasic
Download QB64 from http://www.qb64.org/ or use DOSBox with QBasic.
With QB64:
qb64 main.bas -o hello
./hello
With FreeBASIC:
fbc main.bas
./main
The program uses numbered lines, a hallmark of BASIC programming. Line 10 prints the message and line 20 ends the program. The implementation follows classic BASIC conventions with line numbers and simple commands.