Applies To:
  • CitectSCADA 5.40, 5.40 Service Pack A

Multi-Line comments in the cicode editor are only coloured to 1024 characters, any longer than this and they do not get coloured. 

CIT has confirmed this to be a problem in Citect for Windows versions 5.40 to 5.40spkA. This problem has been fixed in version 5.40spkB.

Because the length of syntaxed multi-line comments has a significant performance overhead there is now a citect.ini parameter to allow interested users to set this depending on how grunty their machine may be.

MLCommentThreshold = 1024

Which specifies the maximum length in characters of syntaxing for multiline comments in the Cicode Editor. The default value (when this parameter is not set) is 1024.