[Gambas-user] Crash with latest version

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Feb 9 03:23:08 CET 2021


> At MTest.1963, you pass a 10x10 boolean array to a function that gets an
> Integer array as argument, and returns its number of dimensions.
>
> The interpreter converts the 10x10 boolean array into a 100 elements
> Integer array, and returns 1.
>
> But you apparently expect that function to return 2.
>
> So I'm surprised...
>

That is old code and it has never triggered an error. So, Gambas used to
preserve the dimensions on conversion.
Is that not possible anymore?


Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210209/aa1ea11c/attachment.htm>


More information about the User mailing list