08-25-2009, 03:26 PM
you are using the wrong data type / operater combination.
you cannot simply add a string with an integer, so you must use the val function to return an integer, which in turn can be added to an integer.
if you want to use strings
str rtime = 1
str rtime2 = (val(rtime)+ 1)
if you just want to keep track of #'s
int rtime = 1
int rtime2 = rtime + 1
you cannot simply add a string with an integer, so you must use the val function to return an integer, which in turn can be added to an integer.
if you want to use strings
str rtime = 1
str rtime2 = (val(rtime)+ 1)
if you just want to keep track of #'s
int rtime = 1
int rtime2 = rtime + 1