Hi All,

Havent used the ICD feature before but this thread has made me take a closer look at it.

I decided that my current project will benefit from this as I currently have loads of code stuffed in there to try and debug what is happening but have realised that if I use ICD then I dont need it.

The problem I have is with this section of code

For CharCount = 0 to NameCount
Hserout [Name[CharCount]]
Next CharCount
Hserout [10]
Hserout ["IP: ",DEC IP[0],".", DEC IP[1],".", DEC IP[2],".", DEC IP[3],10] 'Display IP Address

The two lines in bold fail with the message "Bad Expression" but ONLY when I compile with ICD (CTRL+F9).
If I compile normally (F9) then it compiles without errors!!

Any ideas ?

Thanks