Hello,
The FOREACH command is nice, but would it be possible for a simple FOR NEXT.
Example
Zythan
The FOREACH command is nice, but would it be possible for a simple FOR NEXT.
Example
Code: Select all
Thanks.FOR i =1, i++, 6
PRINT("Hello")
NEXT
Zythan
Hi again Zythan,
You can build any kind of loops with IFs and GOTOs. Your FOR loop can be done this way:
Thanks for your collaboration Zythan.
You can build any kind of loops with IFs and GOTOs. Your FOR loop can be done this way:
Code: Select all
And even with the WHILE loop:$i=0
:start
PRINT("HELLO")
$i=$i+1
IF($i<6)
GOTO :start
END IFF
Code: Select all
I am very reluctant to adding every single command or feature to ScriptFTP when it can be done with the current set of commands. However, sometimes I am wrong and I find out that many users want something that I thought it was useless. If anyone is interested in adding a FOR loop for ScriptFTP, please, post here.$i=0
WHILE($i<6)
$i=$i+1
PRINT("Hello")
END WHILE
Thanks for your collaboration Zythan.
liked Script FTP? Try our other product Email Parser