Hello,
I want to do a very basic string initialization: each element of the string to be NULL (hex: 0x0).
I noticed that if I use the Initial Value in DBand I put there '' each element of the string will contain '' - the character space (hex: 0x20).
For example I have a string in DB1 defined like this:
Address, Name, Type, Initial value
+0.0, EmptyStr, STRING[30], ''
For initialization I use this commands:
L 0
T DB1.DBB 2
T DB1.DBB 3
...
T DB1.DBB 32
But this mode of string initialization is quite primitive.
I will like something as this C code:
i=2;
do
EmptyStr=0;
i++;
while(i<=32)
What is the STL equivalent for EmptyStr ?
I want to do a very basic string initialization: each element of the string to be NULL (hex: 0x0).
I noticed that if I use the Initial Value in DBand I put there '' each element of the string will contain '' - the character space (hex: 0x20).
For example I have a string in DB1 defined like this:
Address, Name, Type, Initial value
+0.0, EmptyStr, STRING[30], ''
For initialization I use this commands:
L 0
T DB1.DBB 2
T DB1.DBB 3
...
T DB1.DBB 32
But this mode of string initialization is quite primitive.
I will like something as this C code:
i=2;
do
EmptyStr=0;
i++;
while(i<=32)
What is the STL equivalent for EmptyStr ?