Add +1 to a variable

Post here if you need help using Actiona
Post Reply
zer11
Posts: 10
Joined: 07 Mar 2012, 14:20

Add +1 to a variable

Post by zer11 »

Hey,
I need help with my script.
I have a variable which is 1, but when it reaches another variable that variable should be changed from 1 to 2 -> +1.
How to change something in my script so that "line" goes from 1 to 2.
Heres the file; http://www7.zippyshare.com/v/21837967/file.html -> Sorry board uploading doesnt work for me.
Greetings
User avatar
Jmgr
Admin
Posts: 1651
Joined: 07 Dec 2005, 15:45
Contact:

Re: Add +1 to a variable

Post by Jmgr »

To do that you could use the Code action and write:

Code: Select all

line = line + 1
Or:

Code: Select all

line++
"My software never has bugs. It just develops random features."
Post Reply