This function provides a report/error box. It takes 5 parameters.

1) The string to display
2) The error number. This can be anything if not an actual error.
3) the type of message
                       0 = Old style error.
                       1 = Information Report
                       2 = Error report
                       3 = Program report
                       4 = Question
                       
Under Risc Os 3.10,3.11 and 3.12, this is ignored and alway gives an old
style error box.

4) The number of buttons. Only 1 or 2 are allowed, although you could
rewrite the function to allow more on Risc Os 3.50 or greater.

5) The name of the program.

The function returns 1 if Ok/Continue pressed or 2 if Cancel is pressed.

