Am trying to array of bool to one of the boolean eg:
test:array [1..10] of bool; turnon:bool; turnon:=test[1];
Am getting error , bool to array of bool is a pbm but y array of bool to bool is also a pbm
VAR test:array [1..10] of BOOL; turnon:BOOL; END_VAR
Program turnon:=test[1];
i only get a warning on the type bool as it should be written in capital. the rest works fine
Talk.ru: 1
Log in to post a comment.
Am trying to array of bool to one of the boolean
eg:
test:array [1..10] of bool;
turnon:bool;
turnon:=test[1];
Am getting error , bool to array of bool is a pbm but y array of bool to bool is also a pbm
VAR
test:array [1..10] of BOOL;
turnon:BOOL;
END_VAR
Program
turnon:=test[1];
i only get a warning on the type bool as it should be written in capital.
the rest works fine
Related
Talk.ru: 1