Skip to content

ST Code shortcut: sum/subtract

edited November 2024 in PLCnext Engineer

Good morning,

I tryed to use the shortcut in ST code

Var += 1;

that is equal to

Var := Var +1;

but it is not accepted; is there a syntax error or the shortcut is not allowed?

Comments

Sign In or Register to comment.