Applies To:
  • CitectSCADA 5.40, 5.40 Service Pack A

Summary:
Default argument expressions currently require surrounding braces, otherwise a compile error is generated.

eg:

FUNCTION test(int var1 = 1+1) generates the compile error

FUNCTION test(int var1 = (1+1)) works.

 

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

Keywords:
 

Attachments