R-BASIC - The Simplest Way to Program for PC/GEOS
Download R-BASIC Files


 

Interpreter Download
Tutorials, Additional
Information & Files
Description
Current Version
Version-History

 

Deutsch  Hier finden Sie eine deutsche Version dieser Seite.
 

 

   R-BASIC Interpreter Version 0.8.2


R-BASIC is a new programming language for PC/GEOS. It is easy to learn and easy to use, even for beginners. On the other hand, it is powerful enough for enhanced projects.

This is a beta version. All implemented functions are tested carefully. If you find any problems, like crashes, unexpected behavior and cryptic error messages, let me know, please. Help to make that program better and more stable.

All BASIC programs, written with this beta will be run in the next betas too. In the rare case, that you find any problem with that, I will support you, if you want.

R-BASIC Intepreter
Version 0.8.2

1.4 MB
March 2012

R-BASIC Examples
Version 0.8.2

1.5 MB
March 2012


Screenshots

Screenshot: Objects

 


 

 

More Tools

More Examples

PDF Manuals

Known Bugs

The current version of the R-BASIC Interpreter.
This release provides a lot of internal changes and some new features, especially related to the GEOS object system.

Since release 0.8, R-BASIC is an object and event orientated programming language. You may build your user interface as you wish, you may or may not use the "classic" output screen.

It also comes with an English manual. This manual describes on more than 120 pages all object classes and it's instances variables, how to use objects in R-BASIC and it explains the concepts behind the object system.

Highlights:

  • 16 object classes
    This includes menus, three list types, two text object classes and the bitmap support from "classic" BASIC.
  • More than 100 object instance variables
  • Automatic geometry management
  • Event handling is implemented as "Action Handlers"
  • English manual
  • Since version 0.8.2: Create objects at runtime

More detailed description of the current version ...

The interpreter contains a lot of code for error catching. If you get some strange error message, especially in German, please WRITE DOWN the message (letter for letter :-) and contact me. You can help to catch te last bugs of the program. Thank you.
The debugging code may slow down the program a little bit in some cases. If you have problems about that, please contact me, too.

For installation, you need the newest version of the Universal-Installer, available here.

Read here how to migrate older BASIC programs (version below 0.5).

 

   Tutorials, Additional Information and Files

More Tools (15.6 kB)
Nov. 2010
More Tools for R-BASIC. Accessible from R-BASIC under "Extras"-"Tools"
- BuilderBase (from BreadBox)
- HDBConv (Hex-Dec-Bin-Converter, John Howard)
Beginners Tutorial

Read online
Download (6.7 kB)
Nov. 2009

This tutorial is designed as a quick start for learning R-BASIC. You will learn the first steps about handling the BASIC Interpreter and some simple, but important commands.
Update older BASIC programs

R-BASIC 0.4 (134.5 kB)
Nov. 2009

Starting with version 0.5, the documents are not longer comaptible. That means, you cannot open older BASIC programs with the new BASIC interpreter versions. If you have any of that programs and you wish to use it, you may open it with the beta 0.4 and copy the code by drag'n'drop to the newer interpreter. If your version 0.4 is already overwritten, you may download a version 0.4 here, that has no conflicts with the newer versions (because it's stripped down and renamed).
More Examples
Rätsel by Jörg Polzfuß (30,3 kB)
March 2012
A little numer puzzle, written by Jörg Polzfuß on the meeting in Syhra, Gemany in 2011. This very simple example is a good starting point for experiments with the UI and the geomerty manager.
Release Save Example (59,6 kB)
March 2012
This complex example demonstrates how to use a lot of file commands. This includes searching for files and error handling in different situations. Core point is the copy of files and whole folders, including its sub folders. I use this program so save different stages of R-BASIC developement.
Manuals as PDF files
Manual Part 2
Objects Manual
(682 kB)
March 2012
The R-BASIC manual, part two. It contains the description of the Objects available in R-BASIC, it's properties and features and how to use it. It also describes the concepts behind the R-BASIC object system.
Manual Part 3
Special Topics
(350 kB)
March 2012
The R-BASIC manual, part three. It contains a description of some special topics like number formatting, using fonts, block graphic characters and working with files, disks and drives.
This part is currently available only in German. Sorry.
Manual Part 4
Addtional Information
(171 kB)
March 2012
The R-BASIC manual, part four. It contains and quick reference about R-BASIC object classes and an appendix with additonal information like error codes, ASCII codes, area draw mask examples, a description of the R-BASIC data types and much more.

 

   News in the current version

News in version 0.8.2
  • Upgraded object compiler
  • Create and destroy objects at runtime
  • Working with object blocks
  • Upgraded object handling (children, hints, object states)
News in version 0.8.1
  • EXIT command
  • Strings may contain special codes, using the backslash like "\123"
  • Modified handling for transparent text output. Use the special color constant BG_TRANSPARENT
  • Transparent block graphic characters
  • New button instance variable: unhandledEvents
Overview about new features since version 0.8.0
  • PC/GEOS Object Support
    Now, R-BASIC is an object oriented language. The current version provides 16 object classes.
    • Application
    • Primary
    • Button
    • Number
    • Group
    • Menu
    • Dialog
    • Memo
    • InputLine
    • Option
    • OptionGroup
    • RadioButton
    • RadioButtonGroup
    • DynamicList
    • View
    • BitmapContent
  • More than 100 object instance variables
    Instance variables are the object data fields that contains object related information and controls the behavior and the properties of a particular object.
  • Automatic Geometry Management
    R-BASIC objects use the GEOS geometry manager to size and arrange all objects nicely. The geometry manager does a lot of work for you. Of course, you still have the final control how the objects are arranged.
  • Action Handlers
    All objects may send messages to R-BASIC. You have to write "Action Handlers" to respond to that. That is the object oriented way to write R-BASIC programs.
  • Free adjustable coordinate system
    You may rotate and/or scale text and graphics.


Known bugs (actual version):
  1. The BASIC Interpreter cannot be closed while a BASIC program is running. Therefore, there are two "Exit" buttons in the file menu. Allways use the "Exit BASIC program" button first to close the BASIC program.
  2. Size hints does not work for Dialogs and Primaries.
  3. SDK Library interface is broken. This is important only for SDK programmers.
  4. Occasionally, the edior hangs. This seems to be a memory problem. Please wait until the erreor message appears and "exit cleanly".


Solved bugs since version 0.8.0:

  1. Keyboard navigation now works.
  2. If you hit Ctrl-B or "EXIT BASIC program" in an endless loop, it will work without crash.
  3. If you press a button after an abnormal program abort, R-BASIC will work, not crash
  4. BASIC programs now appear on top at startup.
  5. The UI compiler is now stable

 

   R-BASIC Overview

Click on the images for full size view. This Overviews comes from the R-BASIC\Documents folder (GeoDraw file).

&Overview R-BASIC commands

&Overview R-BASIC Objects

missing in the current BETA version:


 

  Zurück zum Anfang

If you have some comments, hints or suggestions, contact me, please: Rainer Bettsteller