I am using DB Pro. I am having trouble figuring out how to do this and somebody probably has a quick answer that will save me tons of time.
This is sorta hard to explain, but I would like to use a for statement to create dims. Lots of dims to be exact. For example I would like to do this.
for x=1 to z
dim x(3)
next x
where the x in dim would do something to the effect of doing
dim 1(3)
dim 2(3)
etc...
all the way to z.
I cant just use integers as strings either so how can I mass produce these dim things?
I am doing this to create storage of a sprites settings, so z is the number of sprites. This way each sprite number has a corresponding dim with the same number.
So sprite 1 is a picture and 1(3)=a,b,c, where a b and c are values corresponding to sprite one.
Even if this were to work how would I then alter the dim of a sprite when the sprite number is all that is known?
sprite collision(#,0)(1)=5
^^^^^^^^^^^^^^^^^^^^^ where that stuff defines the dim number but must be a string. sorta.
If anybody has the slightest clue as to what I am trying to explain or ask, please take the time to answer. I possibly jsut have a bad system worked out here. thanks for your time.