You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// in
FUNCTION_BLOCK POU
VAR PERSISTENT
var1 : INT;
END_VAR
VAR CONSTANT
number : INT := 5;
END_VAR
VAR RETAIN
y : REAL;
END_VAR
// out
FUNCTION_BLOCK POU
VAR PERSISTENT
var1 : INT;
END_VAR
VAR CONSTANT
number : INT := 5;
END_VAR
VAR RETAIN
y : REAL;
END_VAR
It should not remove the indentation. Probably caused by the space which seperates RETAIN, PERSISTENT and CONSTANT.
The text was updated successfully, but these errors were encountered:
The following code is formatted as follows
It should not remove the indentation. Probably caused by the space which seperates
RETAIN
,PERSISTENT
andCONSTANT
.The text was updated successfully, but these errors were encountered: