# Sample Script/Pointers on getting hint and warning count out of Delphi compiler

**URL:** https://www.finalbuilder.com/forums/t/sample-script-pointers-on-getting-hint-and-warning-count-out-of-delphi-compiler/2092
**Category:** Discussion
**Created:** [March 10, 2013, 12:23pm UTC](https://www.finalbuilder.com/forums/t/sample-script-pointers-on-getting-hint-and-warning-count-out-of-delphi-compiler/2092 "2013-03-10T12:23:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rsboe](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/3bc359/32.png) [@rsboe](https://www.finalbuilder.com/forums/u/rsboe)
#### Post date: [March 10, 2013, 12:23pm UTC](https://www.finalbuilder.com/forums/t/sample-script-pointers-on-getting-hint-and-warning-count-out-of-delphi-compiler/2092/1 "2013-03-10T12:23:22Z")

</div>

Hi - relatively new to FinalBuilder (though purchased quite a long time ago).

Really impressed with it and enjoying working with it. Having now got the basics of daily scheduled builds up and running, I'm now looking to refine the reporting a bit.

I have about 8-10 Delphi XE projects I like to build every night and I would like to be able to see the latest hints and warning count on each (embedded in my overall HTML reports page), so I can get better visibility on those.

In another forum message you said there was an approach that could be used involving OnStatusMessage, but confess I'm a bit stuck on how to get up and running - does anybody have a sample of how to do this?&nbsp;All I really need is a simple text file that outputs the data in a key=value pair, eg.

[MyProject1]

Hints=2

Warnings=1

&nbsp;

Many thanks

Richard

---

<div class="post-metadata">

### Author: ![rsboe](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/3bc359/32.png) [@rsboe](https://www.finalbuilder.com/forums/u/rsboe)
#### Post date: [March 10, 2013, 12:37pm UTC](https://www.finalbuilder.com/forums/t/sample-script-pointers-on-getting-hint-and-warning-count-out-of-delphi-compiler/2092/2 "2013-03-10T12:37:09Z")

</div>

Doh, think I've found what I wanted under "Output Action Monitors" on the Runtime tab of the Compile action. Have added integer variable "WarningCount" and then assigning to it the Matchcount for the word "Warnings" to it. Will do the same for hints and then I just need to find the most elegant way of getting it into my web page.

Thanks - great tool.

&nbsp;

Richard
