Can I read a single value from an array?

BlitzMax Forums/BlitzMax Beginners Area/Can I read a single value from an array?

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.

I dunno. Blitz help says Global WayPointList:Int[]=[1536,2560,2,1,1,1] should work.


'Auto arrays' may be created using the syntax:
[Element1,Element2 etc...]

This returns a 1 dimensional array containing the specified elements, for example:

Local int_array[]=[1,2,3,4,5]



It compiles. No crashes. No errors. Go figure.