another stoopid thing. Auto Array problems....

BlitzMax Forums/BlitzMax Beginners Area/another stoopid thing. Auto Array problems....

Hey peeps..
im having a few n00b problems again!!!

Local titlebar#[]=[x#,y#-titleheight#,x#+sizex#,y#-titleheight#,x#+sizex#,y#,x#,y#]


returns "auto arrays must contain similar types" or to that effect.

Also, if i do them all without floats, it gets past that line, but fails when i try to

drawpoly titlebar


complaining about mismatched float/ints.....
EEEK. help again ^.^ what am i doing wrong?


[edit]
i got it to work by using "float" with everything? can anyone shed some light on this?