Examples Directory
==================

This directory contains a number of files which demonstrate some of the new
features in WimpBasic 2.


DrawShow
--------

This is a simple Draw file display program. It demonstrates several new
features.

It uses the new DrawLoad command to load a Drawfile. 

It uses GetDrawMemory to find the address of the Drawfile.

It uses the new FileTypes window to specify that double clicking on a
DrawFile will load it. If !DrawLoad is not loaded, double clicking on a
DrawFile will load it.

It uses the new DrawPlot command to plot the file into the window.


Pane
----

This is a simple pane example. It demonstrate the new Pane handling in WB2
and also the font menu and font printing facilities.


Printer
-------

This demonstrates the new Font handling facilities. Menu over the initial or
help windows will open a font menu.

SlideShow
---------

This demonstrates the new include files facility and the GetSpriteMemory
command.  The application includes a number of sprite files inside the
application directory. These are loaded one at a time and displayed on
screen.

Because you can find the address of the sprite area, you can use the familiar
SWIs you are used to using in BBC BASIC.

Timer
-----

This is just to show the difference optimising makes. Try compiling the
application and running it. Take a note of the times and try again, but this
time save optimised. You will find there is quite a difference.




