Slices - clarification

BlitzMax Forums/BlitzMax Beginners Area/Slices - clarification

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.


Local a[] = [11,22,33,44,55]
Print "a[] = [11,22,33,44,55]  creates the array on the fly"

Print "a[1] = "+a[1]
Print "a is "+Len(a)+" elements long"
a = a[..20]
Print "a[1] still = "+a[1]

Print "but Now, a is "+Len(a)+" elements long"