the rest of the code is...

 Quote:
$iniProc = "\serverprocess.ini"
$inidisk = "\serverdisk.ini"
$Webpage = "\\servermonitor.html"


;region Build HTML

$svrs = Split(Left(ReadProfileString($iniproc, "", ""), ~), Chr(10))

For Each $server in $svrs
;build the html data. Order is
; processes
; disks
; section headers
; server title
? $server
$proccolour = "lightgreen"
$cpus = Split(Left(ReadProfileString($iniproc, $server, ""), ~), Chr(10))
$disks = Split(Left(ReadProfileString($inidisk, $server, ""), ~), Chr(10))
For Each $cpu in $cpus
$line = ReadProfileString($iniproc, $server, $cpu) ;returns the %cpu load
$line = CInt($line)
$bgcol = htmlcolour(91, 95, $line)
?$bgcol
$cpuhtml = $cpuhtml + "<tr bgcolor=$bgcol><td>$cpu</td><td>$line</td></tr>" + @CRLF
$proccolour = highcolour($bgcol, $proccolour)
Next
;have all CPU's now create table header for Processor
$prochtml = "<table>@crlf <tr bgcolour=$proccolour>@crlf <td colspan=2>CPU Load%</td>@crlf </tr>" + $cpuhtml + "</table>

Next


I've pulled the data paths from the ini files but everything else is as is.

I'm using ASE and I can't see any missing quotes.

When the htmlcolour bit is commented out I get the same error message at highcolour
_________________________
Every day is a school day