@givirus its because of your script logic, maybe you dont call the function? OR you dont have proper error handling which results into certain parts of your script being skipped since they are inside an if statement. I encountered this problem many times in the past, you will need to handle errors and it'll will be most likely fixed, for the purpose of debugging you can use the "Log" function at several points to see where it will print it.
Reading Line by Line does not work .. Please see script
-
Hi,
I am trying to Read Line by line and each line to a variable.
Read File to list is supposed to do that.
But it simply copies everything to variableAttached script and sample text file
Kindly help
one_line_each.xml
oneline.txt -
"Read File to list" does exactly what it says.
Result is "LIST variable", not just "variable",
so iy is special variable that holds an aray
of elements or "LIST variable". Each element
in that aray/list is divided by "," by default,
so all you have to do is to "parse" that
"LIST variable". You can do it with list module.So there is nothing wrong with your example, you
just need to do some addirional in list manipulation
in order to get element or elements you need.