Asked
— Edited
I don't find the right place to post comments on tutorials, but just wanted to compliment @JustinRatliff on his great tutorial on File Operations with example scripts
Regards,
Frank
I don't find the right place to post comments on tutorials, but just wanted to compliment @JustinRatliff on his great tutorial on File Operations with example scripts
Regards,
Frank
I was able to run all of your examples without any issues, but when I used my own data I had some problems with a feature of Split()
A string consisting of alpha chars or mixed alpha and numeric work as I expected, but a string of just numbers is treated as math. This is by design according to an old post I found
Here is some code and the results showing the issue I can into:
Code:
I was able to solve my problem by adding one field of alpha to my numeric data.
It might be helpful to add a caution to your great tutorial
Also, it appears that the Script manual states that Split() returns an index instead of the value found
http://www.ez-robot.com/Tutorials/UserTutorials/169/1
Thanks again for your fine work on the tutorial
Frank
Code:
*note: i updated the EZ-Script manual to reflect the misprint for Split(), thanks!
Thanks for clearing that up! I did have the commas, neglected to add a spaces as you did in your example
I ran a test and adding the spaces to my code worked and I found out there was no need for the parentheses
Code:
Thanks for the quick response
Frank