Byte Arrays

BlitzMax Forums/BlitzMax Beginners Area/Byte Arrays

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 came across the same problem.
for int and float Arrays you can just type:
Local a:int[] = [1 , 2 , 3]
local b:float[] = [1.0 , 2.0 , 3.0]

but for byte and double arrays you will have to do this.
Local a:byte[] = [Byte(1) , Byte(2) , Byte(3)]
and
Local b:Double[] = [Double(1.0) , Double(2.0) , Double(3.0)]

At least this is what I am doing.