Page 1 of 1

Add +1 to a variable

Posted: 18 Mar 2012, 20:14
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

Re: Add +1 to a variable

Posted: 19 Mar 2012, 20:26
by Jmgr
To do that you could use the Code action and write:

Code: Select all

line = line + 1
Or:

Code: Select all

line++