Hello Glenn

Can I run an If-Else expression nested inside a For Each expression?
I can't figure out my problem here:

$Sections = Split(ReadProfileString('c:\pc.ini','',''), Chr(13))
For Each $Sec in $Sections
If $Sec="005056C00001"
$PCname = ReadProfileString('c:\pc.ini', $Sec, 'PCnavn')
If $PCname=$PC
? "Do nothing"
Else
$ = WriteProfileString('c:\pc.ini', $Sec, 'PCnavn', $PC)
$ = WriteProfileString('c:\pc.ini', $Sec, 'Last updated', $Lu)
$ = WriteProfileString('c:\pc.ini', $Sec, 'IP', $IP)
EndIf
EndIf
Next

When I try this, the array is not being enumerated. Why?
Also - where can i find the many UDF's you are referring to?