@Stonemonkey... awesome response, and much thanks. Any little bit that helps me learn = very much appreciated.
With that third example as b being a pointer, does that mean each loop "b" is +1 each time, yet "a" still stays the same, so in fact that if I wanted to run a few different loops that point to the same thing, in effect I can setup the initial one... eg...
dim as integer a(0 to 2) , a(0)=10 , a(1)=100 , a(2)=1000
dim as integer pointer ap1=@a(0) , ap2=@a(0) , ap3=@a(0) ' the pointers ap1,ap2,ap3 that point back to a(0) which is "10"
for loopy as integer = 1 to 1000
ap1=ap1+1+loopy
ap2=ap2+3+loopy
ap3=ap3+5+loopy
cls
print "ap1 = "+str(ap1)
print "ap2 = "+str(ap2)
print "ap3 = "+str(ap3)
next
print "this number is "+str(a(1)) ' which should return "100"
if a(1) <> "10000" then
a(1)=10000 ' this changes the initial "a(1)" array from "100" to "10000"
endif
print "this number has been changed to a "+str(a(1)) ' which should return "10000"
I'm a lil' tired... but I hope I made some sense.
REALLY appreciate it Stonemonkey. I guess my next thing is setting up the different aspects of my demo's as buffers. So then I have my background buffer, scroller buffer, logo buffer etc etc etc, Thinking about doing it that way makes sense to me, as it would be easier to trace/modify/blit each one.
Thanks again.
*edited... see I did make a mistake. heh. Integers!!!!! not strings ;P