what are the weakness of blitz?

Blitz3D Forums/Blitz3D Beginners Area/what are the weakness of blitz?


Handles are just ints you can store them in arrays or banks.



I thought that handles resemble Ints, but they represent a memory-locaton, rather than a value.
If a handle (to a type-instance) was an Int, why do you have to declare an array with the type of type-instances you want to put into the array?

I just tried to use an integer-array to hold a pointer (or reference or handle) to a type-instance and it failed (illegal type conversion).

I also tried a very small program to use a bank to store a handle, it failed too:

Type test
End Type

firstbank = CreateBank(4)

instance.test = New test

PokeInt firstbank, 0, instance


How can you put a handle (to a type-instance) inside a bank?