Reporter

!Reporter

v2.66a (24 Apr 2011)





The !Reporter application provides commands to display information in the Reporter window which can be very useful when developing and debugging Wimp programs and Obey files.

There are many new facilities with this release. The major ones are ...


The main facilities of Reporter are ...


Commands Provided


A brief introduction to the main commands available follows:

*Report [ <text> | <<OsVariable>> | <BasicVariable> | (<BasicExpression>) ]

*ReportCmdOn [<text>] *ReportErrOn [<text>] *ReportClear [ <text> ] *ReportOff [ <text> ]
*ReportOn [ <text> ] *ReportDump [(start)] [(length)] [(width)] [text] *ReportTrace [OFF] [ON] [PROC] [<number>] [<text>] *ReportError [Throwback] *ReportDebug


Example of Reporter Usage


A simple Basic program ...

010 : REM Simple Reporter Demonstration
020 : ON ERROR END
021 : *ReportCmdOff
030 : *Report \G Start Simple Basic Test at time \t ...
040 : *Report \b Hello World from Reporter
050 : *ReportDebug
060 : String$="a string" :Integer%=67890 :HexInt%=&1234
070 : *Report String$ Integer% ~HexInt%
080 : Float = 9876/77
090 : DIM FloatArray(5) :FloatArray(1) = 1.234
100 : *Report Float FloatArray(1)
110 : *Report ((ATN Integer%)*100)
120 : *Set Test$OsVar Test OS Variable
130 : *Report <Test$OsVar>
140 : PROCproc1
150 : END
160 :
170 : DEF PROCproc1
180 : FOR I% = 369 TO -369 STEP -369
190 :   PROCproc2(I%)
200 : NEXT
210 : ENDPROC
220 :
230 : DEF PROCproc2(divisor%)
240 : *Report divisor%
250 : perc% = FNpercent(123,divisor%)
260 : *Report perc%
270 : ENDPROC
280 :
290 : DEF FNpercent(A%,B%)
300 : = A% / B% * 100

... and the Reporter display, showing simple Obey file and Basic program running

Report02




Analysis Utilities

There are two optional analysis utility applications also available:

!ReportTA

analyses Trace data from BASIC programs collected by the !Reporter command *ReportTrace, counting the number of times Procedures, Functions, or even Lines are used. This enables the easy identification of program code that is: inefficient, so it can be optimised; very heavily used, so it can be optimised; never used, either for further testing, or removal.

!ReportRMA

analyses Trace data from RMA Storage activity collected by the !Reporter command *ReportRmaOn, counting the number of storage Claims, Frees and Extends, and checking if there are any Frees or Extends without a Claim, or any Claims without a Free.

Note that they are both in separate download files, and also need ArmSort to run.



Recent Change History


14/03/2006 v2.64 Release version
05/02/2010 v2.64 Update to the latest available.
21/04/2011 v2.66 Release version with many changes.
24/04/2011 v2.66a Minor change to remove RMA Heap list when started during Boot.


How to obtain Reporter


To download please click on the files below:
Application VersionDate Download Description
!Reporter v2.66a (24 Apr 2011) 95 kByteThis is a full archive of the latest version.
!ReportTA v1.02 (12 May 2004) 14 kByte This supplementary application analyses Trace data from BASIC programs.
!ReportRMA v1.00 (19 Jan 2006) 11 kByte This supplementary application analyses Relocatable Memory Area (RMA) Claim, Extend and Free data.





Please click home to return to the Avisoft home page.

E&OE. © Copyright Martin Avison, 2011. Last updated: Sun 24th April 2011
Please send any queries or comments to
This site is hosted by Force9 on PlusNet

Valid HTML 4.01 Transitional