Mice & adaptors
Hints & Tips
Upgrades from earlier versions and the new 32 bit neutral Run-Time Modules available.
Wimp Basic is a total programming environment. It enables you to write WIMP applications without having to understand how the RISC OS windows environment works. Wimp Basic handles it all for you.
To run a program written in WimpBasic you will need the WimpBasic run-time modules application and this must be 'seen' by the filer before the program can be run. This is, of course, provided with WimpBasic and may be distributed with any programs, but if you do not have a copy and want to run a compiled WimpBasic program you will need to download the Wimp Basic Run-time Modules here.
You must return your original program discs or CD.
Upgrade prices from the Clares version include full printed User Guide and Language Reference Manual which were not supplied by Clares.
Is it compatible with ordinary Basic ?
Yes and no. Because WimpBasic deals with so many areas for you, many commands, particularly those associated with windows and menus, are not present or are much simpler. The general algorithms used in Basic programs can be used but you will probably need to re-write the routines. WimpBasic procedures are typically much smaller than their Basic equivalent. For example to open a window in Basic you have to set up blocks and a polling routine with bits all over your application. In Wimp Basic it takes one line eg OPEN Window$.
Who is WimpBasic aimed at ?
WimpBasic is aimed at the BASIC programmer who has not had the time or inclination to get to grips with the WIMP environment, especially those who want to write modest applications in the shortest possible time. It is NOT aimed at people who want to write a major application such as a spreadsheet, DTP etc. No doubt someone will prove us wrong but that is not the market WimpBasic is intended for.
What do I get ?
Wimp Basic is supplied with the editing environment (detailed below), WBModules (which contains the run time module that is required for your applications), a range of WB files to be used as tutorials (some producing useful applications), a printed manual and reference guide and an on line guide for quick and easy access of all information.
How do I write an application ?
The hardest part is having the idea. Using the supplied tutorials you will write your first application in 30 minutes !
Wimp Basic has various component parts. The Main window is shown below.
A typical Select procedure might be:
DefProcOpenWindow Rem Called when user clicks on iconbar icon Open HelloWorld EndProc
That is all you type. WB handles everything else and when you click on the Icon Bar icon the window called 'HelloWorld' is opened on the screen.
Windows are created graphically. 'Window' means to windows, dialogue boxes, error boxes etc. You create the window as you want to see it and give it a name, just like a variable. This name is used to manipulate the window, open it, move it etc.
In addition to creating windows this is where you create icons. These can be text icons, graphical icons or writable icons. Button types are assigned to the icon. For example, you might want an action to take place when an icon is clicked on, so you set Button type to Click and select a procedure to be actioned. Simple.
Menus are also created graphically. A menu entry can then have a sub menu or a procedure attached to it. Keyboard short cuts can also be added. See below. The menu was created by clicking into the header and typing the menu name. The two menu entries were also just type in and the sub menu selected from the list of menus available. Likewise the Procedure was selected from a list.
This is a list of global variables, defined in Groups. By default it contains a set of System variables dealing with the screen, printer and some other necessary variables. New groups and variables are added using a simple dialogue. Local variables are defined in each procedure.
This is very similar to Edit and will be familiar to anyone who has used Edit. The main differences are that the WB Editor automatically colour codes your code to distinguish keywords, variables, REM statements etc.
If you write several procedures in the same Editor window they are automatically split into individual procedures so that they can be selected from a list. One other useful addition is the ability to search all procedures using the Search and Replace.
One advantage of the way you write code in WB is that procedures and functions can be complete units of re-usable code. These can be filed in a Library directory and re-used in other applications. The same applies to Windows and Menus. For example, you will probably only ever need one Program Info window, one Quit procedure, one Icon Bar menu will do for many applications etc.
This simply lists the available sprites and provides information. Paint or another editor is used to edit sprites and icons.
This is for those who want to delve a little deeper. It enables you to assign procedures that are actioned when a particular Raw Event happens. Perhaps the most common Raw Event that most people will use is the Null event. If it means nothing to you don't worry as you don't have to use it.
There are many new keywords and facilities. These include :-
the application achieves what it sets out to do very well: it brings the
creation of simple to medium complex WIMP applications within reach of the
average user.. This is a Very Good Thing.
Acorn User May 1997
..excellent value for money. I found the manual very usable
Archive May 1997
The claim about being able to create applications quickly and easily is
most certainly true! Within 15 minutes, and 15 lines of code, I had a
finished and compiled program. ..exceptionally easy to share code.. ..a
brilliant piece of kit.. It's a great way to get started, so get going.
Risc User April 1997
Hi I just got Wimpbasic Friday 8am by 8.40 am it was up and running with my first wimp program which they say will take less than one hour. It's brill if you have written in Basic and never got to grips with the wimp get WimpBasic it's now so easy to program the wimp, hopefully there will be loads of new freeware available.
The latest, 32 bit neutral, version of the WimpBasic Run-Time Module is now available for download here.
Note that these alone will not enable you to run WimpBasic programs on a 32 bit system. The programs must have been re-compiled for 32 bit.
For more information about the WimpBasic Run-Time Module this short document gives a history of recent versions and some technical information.