Using Run BASIC Personal - Quick Start Guide

For support questions and bug reports go to

First things first
Starting up
Logging In
Try an example
Create your own program
The preferences tab
The publish tab

First things first

Windows Vista, and the location of the Run BASIC installation - The reason that Run BASIC is installed into a folder in the root directory (c:\rbp) instead of the Program Files folder is because Vista's draconian security would otherwise prevent read/write access to files that Run BASIC needs.  Since Run BASIC will also be available for Linux and the Mac OS it seems an undue burden to provide for a unique Windows version that has special file location needs.  Perhaps we will expend some energy to make Vista happy, but only after we get initial releases out for all OSes.

Starting up

There are two ways to start up the Run BASIC server:

Using the Windows Start menu, find the Run BASIC program group and click on Start Run BASIC Personal Server.


Open a command prompt and use CD to change to the Run BASIC folder.  Then type rbp and press Enter to launch the Run BASIC Server Console.

A window will appear like so:

Run BASIC is a web server and you access it using a web browser.  Click the Launch in Browser button to start a web browser pointing at the server.  NOTE:  Since Run BASIC is a web server you may find it necessary to setup Windows Firewall to allow traffic to the Run BASIC server.  Windows will probably pop up a security notice asking if you want to unblock rbp.exe.  You need to unblock it if you want to use Run BASIC.

Logging In

Once you have clicked on the Launch in Browser button you will see a web browser appear that looks like so:

Type in the username and password (they are 'username' and 'password' but you can change them).  Now you will see:

See the toolbar.  It has four buttons for New Project, Open Project, Save Project, and Run.  Also notice the Run full screen checkbox which allows you to hide the banner and code editor when you test your programs.  There is also a Log out link to the far right.

Try an example

Click on the Open Project button to see:

Click on calcCSS and then Open.  Check the Run full screen checkbox and then click the Run button :

When you're done with the calculator, click on the Exit full screen mode link to go back to the code editor.

Create your own program

To create a program of your own, click on the New Project button to create a new blank editor.  See below how it says Project: untitled at the top of the browser window.

Type or copy and paste the following code into the editor:

print "Simple graphics"
graphic #myDrawing, 200, 200
#myDrawing color("blue")
for x = 20 to 60 step 3
  #myDrawing line(x, x*3, 180-x*3, x)
next x
render #myDrawing

 Try running it to see this:

Now click on the Save Project button and you'll see something like:

So give your project a name (myDrawing perhaps?).  Type it into the field under Save as project name and click on the Save button to save your project.  The project will be saved in a folder named name_project with a filename of name.bas.

Note: Each time you save changes to your code Run BASIC will write not only name.bas but also a second copy with date and time information in the filename (for example name20071226-181914.bas which encodes the date Dec 26, 2007 and the time 18:19:14).  This way you will have a history of the different versions of your code that you have saved.

The Preferences Tab

Click on the Preferences tab to see this:

The Publish Tab

The Run BASIC server can serve any project as an application.  To do this, go to the Publish tab and check the box next to the project you want to serve.

Notice that we check the firstTable project.  To launch this application, the URL should look like this: