Examples of recursion use in nuBASIC
Fact.bas shows how to calculate the factorial of an integer number.
This simple game challenges the user to guess a randomly selected number within the 1-10 range, without offering the usual hints of "higher"/"lower".
It is written using QBasic-like dialect syntax supported by nuBASIC.
See also http://en.wikipedia.org/wiki/QBasic
This code is a simple "Solitaire" Ping Pong demo.
A simple program which shows how to draw a math curve
These examples show how to draw bitmap read from file on the screen.
Cartoon shows how to make a simple animation.
This program is another example which shows how to draw bitmaps for creating simple 2D game graphics.
Code samples >