i may be dumb but i tried to use the new :str statement, it throws a “expecting end of file”
i wrote it like this :
variable:Str = “idk”
From Blit3D docs:
Since a recent Blitz update you can now do what are called 'blitz arrays'. These are very different to a Dim'd array, in the following ways:
They use square brackets [] instead of the normal round ones ().
You declare them like you do Local or Global variables, example: Local myArray[10]
They cannot be multi-dimensional, and cannot be resized.
They can be stored in Type objects.
They can be passed to functions.
Const WIDTH = 10 Const HEIGHT = 10 Local tab[WIDTH * HEIGHT] ;set value to tab[5, 7] Local x=5, y=7 tab[x + y * WIDTH] = 1234 ;get value from tab[5, 7] Local value = tab[x + y * WIDTH] Print value