Applies To:
  • CitectSCADA 5.21

While cicode is being compiled, a message may popup saying "Citect error: macro at lex peek", and compilation will terminate. 

The cause for this is usually that directly preceding the line where the error occurred there was a variable declaration without a semi-colon. Adding a semi-colon to the end of the declaration should avert this error from occurring.

CIT has confirmed this to be a problem in Citect for Windows version 5.21 We are researching this problem and will post new information here as it becomes available.