Hello all!
I've declared own datatypes and have problems initializing them
example:
TYPE DWORD_PARAMETER :
STRUCT
Value : DWORD; OldValue : DWORD;
END_STRUCT
END_TYPE
TYPE Param :
ComponentName : STRING; Timeout : DWORD_PARAMETER;
I have declared this variable in a program and want to initialize it
myParam : Param := (ComponentName := 'Test');
How do i initialize the Timeout variable in the same way?
Thanks in advance
Originally created by: Frank Hailer
Hello
The whole initialisation is:
myParam : Param := (ComponentName := 'Test', Timeout := (Value:= 5, OldValue:= 10));
Bye, Frank Hailer
Log in to post a comment.
Hello all!
I've declared own datatypes and have problems initializing them
example:
TYPE DWORD_PARAMETER :
STRUCT
END_STRUCT
END_TYPE
TYPE Param :
STRUCT
END_STRUCT
END_TYPE
I have declared this variable in a program and want to initialize it
myParam : Param := (ComponentName := 'Test');
How do i initialize the Timeout variable in the same way?
Thanks in advance
Originally created by: Frank Hailer
Hello
The whole initialisation is:
myParam : Param := (ComponentName := 'Test', Timeout := (Value:= 5, OldValue:= 10));
Bye, Frank Hailer