In the final code you posted...
- IF>URLS_COUNT>0
LET>k=0
Repeat>k
Let>k=k+1
Let>ThisURL=URLS_%k%
//write it to file
WriteLn>C:\urllist.txt
Until>k,URLS_COUNT
Endif
- WriteLn>C:\urllist.txt,result,ThisURL
the comma or the equals sign. I was curious so I wrote two macros to try to duplicate your findings:
Comma Test:
Code: Select all
Let>URLList=http://www.yahoo.com;http://www.google.com;http://www.mjtnet.com;http://www.microsoft.com;http://www.ebay.com
Separate>URLList,;,urls
If>urls_count=0,end
Let>k=0
Repeat>k
Let>k=k+1
MDL>urls_%k%
Until>k,urls_count
Label>end
//Now write the URLs to a file
//Test Until> command using a comma
IF>URLS_COUNT>0
LET>k=0
Repeat>k
Let>k=k+1
Let>ThisURL=URLS_%k%
//write it to file
WriteLn>C:\urllist-comma.txt,result,ThisURL
Until>k,URLS_COUNT
Endif
Code: Select all
Let>URLList=http://www.yahoo.com;http://www.google.com;http://www.mjtnet.com;http://www.microsoft.com;http://www.ebay.com
Separate>URLList,;,urls
If>urls_count=0,end
Let>k=0
Repeat>k
Let>k=k+1
MDL>urls_%k%
Until>k,urls_count
Label>end
//Now write the URLs to a file
//Test Until> command using a equals sign
IF>URLS_COUNT>0
LET>k=0
Repeat>k
Let>k=k+1
Let>ThisURL=URLS_%k%
//write it to file
WriteLn>C:\urllist-equals.txt,result,ThisURL
Until>k=URLS_COUNT
Endif
clickfast, can you please post your code so we can reproduce your findings. As far as I know,
using a comma or an equals sign in the Until> command should produce *exactly* the same results...
but if you can post an example that acts differently, just by changing that comma to an equals sign,
you may have uncovered a bug with the Until> command that I'm sure MJTNet would want to investigate.
Thanks and take care.