[Gambas-user] Array Resize limits
Tobias Boege
taboege at ...626...
Thu Aug 20 17:11:01 CEST 2015
On Thu, 20 Aug 2015, martin p cristia wrote:
> Hi:
>
> I need a huge array of Floats, use:
>
> longNumber = 400000000 ' 400M * 8bytes = 3.2GB
>
> Resize fArray[longNumber] ' this gives no error !!!
>
>
> fArray[1] = 1000 ' this gives Out of Bounds
>
> workaround?
>
How does the code really look? It's hard to imagine that the code
Resize fArray[longNumber]
would not raise an error as, first of all, there is no "Resize"
keyword in Gambas.
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
More information about the User
mailing list