Joining string and number in Zemax Macro
Dear all,
I am a beginner of zpl and I want to make names of files with the 'for' loop.
For example,
file1.txt
file2.txt
file3.txt
...
fileN.txt
Can I add a number to a string?
What shall I do to make "filename" + number(integer) + ".txt" ?
Is there any smart method to do this?
Thanks in advance
I am a beginner of zpl and I want to make names of files with the 'for' loop.
For example,
file1.txt
file2.txt
file3.txt
...
fileN.txt
Can I add a number to a string?
What shall I do to make "filename" + number(integer) + ".txt" ?
Is there any smart method to do this?
Thanks in advance
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.