How do I increment variables in loops

Discuss RoboTask here
Post Reply
BrianSmith
Posts: 46
Joined: Tue Apr 27, 2004 7:50 pm

How do I increment variables in loops

Post by BrianSmith »

I have created a File Loop and want to write to a text file each file name, file size and a number that increments for each file and displays like this:

1. Filename1.txt - 34567 bytes
2. Filename2.txt - 52958 bytes

How do I create a variable which I can increment inside the File Loop?

Also I would like to have another variable maintain the total bytes of all files listed.

I have the file name and file size writing to a text file but not sure how to do (+ - * /) to variables.
AlexeySurkis
Posts: 51
Joined: Wed Oct 01, 2003 4:55 pm
Contact:

How do I increment variables in loops

Post by AlexeySurkis »

Please download and install the BASIC Plug-in. Then use the new Evaluate Expression action.
Last edited by AlexeySurkis on Fri Apr 30, 2004 5:44 am, edited 1 time in total.
Post Reply