|
If I want to declare a static variable as an integer, is there a command that don't need to assign value to the variable??
In one of my event:
private t
if t < 10 laFile[t] = item t = t + 1 endif
I manage the event to fire up everytime it read a command from other program. How can I declare variable "t" so it start with 1 and next time I call the command "t" will be 2.
If I declare "t" as 1, then everytime I call this event variable "t" will always be 1 and overwrite my old data in my array laFile[1].
Any ideas!!
|