Skip to content

Phaka/example-hello-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Hello World in BASIC

A simple Hello World implementation in BASIC.

Installation

macOS

brew install brandonp/homebrew-qbasic/qbasic

Linux

For Debian/Ubuntu:

sudo apt-get update
sudo apt-get install freebasic

Windows

Download QB64 from http://www.qb64.org/ or use DOSBox with QBasic.

Running

With QB64:

qb64 main.bas -o hello
./hello

With FreeBASIC:

fbc main.bas
./main

Code Explanation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages