home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kosovo Orphans' Appeal Charity CD
/
KosovoOrphansAppeal.iso
/
archimedesworld_cd2
/
programming
/
recorderrors
/
_help
< prev
next >
Wrap
Text File
|
1996-04-12
|
4KB
|
122 lines
RecordErrors
============
Version 1.06 (17 Mar 1996)
Introduction
------------
Robin Abecasis asked me, sometime ago now, to write a module which could
tell him all the errors which had occured whilst he had not been with the
bulletin board he runs. If an error occurs on the bulletin board a box
usually appears with OK on it. And this stops everything dead.
Fortunately, somebody thought of this and wrote the NoError module. This
will click on the OK button after about 5 seconds and the BBS can continue.
Unfortunately if you aren't there you can't see what the error was. And if
you were there, there would be no need for NoError.
So here comes RecErrors, a program which will log all these errors into a
file so that you can see what has happened.
Usage
-----
Run the !Create file. That's it.
Hopefully, the code will be assembled with no errors and all that in
future will be required is the running of the !Run code file.
To set the filename of the log file alter the !Run file, or set the
variable RecordErrors$File to point somewhere useful.
How it works
------------
The module uses the WimpSWIVe module by Andrew Clover of Doggysoft. This
allows modules to easily patch calls to the Wimp SWI base, and allows
RecErrors to get in on all calls to ReportError and to send the information
into a file for looking at. The file is opened only when needed, so it is
perfectly safe to do silly things like *Close and other pointless things. The
file also has it's type set after each error.
Disclaimer
----------
The author accepts no responsibility for any problems which this
application may cause or loss of data resulting in its use. This application
is Public Domain. This means that it may be distributed, so long as no charge
other than copying costs are charged for it.
Bugs
----
Å Do not give silly filenames to RecordErrors$File, it shouldn't cause any
problems, but I wouldn't count on it.
Source code
-----------
This program requires the !JFPatch pre-assembler to make the code. This is
a simple text-to-basic assembler which takes a text assembler file, makes a
basic program from it to assemble, assembles it and returns any errors.
Currently, it is under development and requires a lot of work before it will
be released in any form. As such, the patch file is mostly useless, but must
be distributed with the resultant module.
All source code an the resultant module must be distributed together.
WimpSWIVe
---------
This program require WimpSWIve (v0.05) to be installed before it will run
correctly. It provides easy access to filtering Wimp calls other than
Wimp_Poll (provided by FilterManager) and is provided with NewerLook (which
is ok, but takes a bit of getting used to).
The WimpSWIVe module is ⌐ Andrew Clover, and if copied should be copied
with the documentation which is provided. Refer to the file WSWI-Help for
more details.
Contact
-------
Any comments, queries, donations or bug reports can be sent to :
Fido : Justin Fletcher at 2:255/116.3
E-Mail : Gerph@essex.ac.uk
URL : http://prompt.essex.ac.uk/users/jrflet
IRC : On #Acorn as Gerph
Finger : finger jrflet@postman.essex.ac.uk
Tel : (01842) 813979 (Home)
: (01206) 873119 (Uni)
Snail Mail :
Justin Fletcher
öGaladrielò
17b Cromwell Road,
Weeting,
Brandon,
Suffolk.
IP27 0QT
Uni address : (year 1995/6 only)
Eddington Tower,
Flat 9/5,
University of Essex,
Wivenhoe Park,
Colchester.
CO4 3SQ
History
-------
Version 1.00 : 23 Apr 1995
Basic module written for WimpSWIVe.
Version 1.01 : 24 Apr 1995
Improved to handle no file / error from message
Version 1.02 : 24 Apr 1995
Checks bit 5 for transient error boxes.
28 Apr 1995 - Sent to Arcade
Version 1.03 : 14 May 1995
Error copied to workspace to fix bug with filecore.
Version 1.04 : 14 May 1995
Option to include users name in log file.
Version 1.05 : 21 Jun 1995
Internals modified in JFPatch code.
Version 1.06 : 17 Mar 1996
Option to include date added 'officially'.
Release to Ouijaboard.