Strange behaviour when using a string list
Posted: Mon Feb 10, 2020 3:02 pm
Hi,
I've come across some odd behaviour in one of my programs. I have a string program variable which contains a list of names. This is then passed to a for loop which copies each variable from one workfile to another. When I add a new variable to the end of the list, it gets ignored. However, if I add a new variable to middle (or anywhere but the end) of the list, it gets copied.
Any thoughts on what causes this?
Thanks
Adam
I've come across some odd behaviour in one of my programs. I have a string program variable which contains a list of names. This is then passed to a for loop which copies each variable from one workfile to another. When I add a new variable to the end of the list, it gets ignored. However, if I add a new variable to middle (or anywhere but the end) of the list, it gets copied.
Any thoughts on what causes this?
Thanks
Adam