Hi All,
I'm trying to learn Bmax and came across a piece of code in a samle that came with the software I don't get.
For y=12 To 0 Step -1
For x=0 Until 8
If map[x,y]>0
If map[x,y+1]=0
map[x,y+1]=map[x,y]
map[x,y]=0
EndIf
EndIf
Next
Next
This is a common For,Next/Column,Row loop.
What is the signifigance between TO and UNTIL in the For statements?
For y=12 To 0 Step -1
For x=0 Until 8
The 'docs' don't give me a clue. I see For - TO, but not FOR - UNTIL.
Thanks ahead of time for any help you can offer.
Gimpy1
I'm trying to learn Bmax and came across a piece of code in a samle that came with the software I don't get.
For y=12 To 0 Step -1
For x=0 Until 8
If map[x,y]>0
If map[x,y+1]=0
map[x,y+1]=map[x,y]
map[x,y]=0
EndIf
EndIf
Next
Next
This is a common For,Next/Column,Row loop.
What is the signifigance between TO and UNTIL in the For statements?
For y=12 To 0 Step -1
For x=0 Until 8
The 'docs' don't give me a clue. I see For - TO, but not FOR - UNTIL.
Thanks ahead of time for any help you can offer.
Gimpy1