[Gambas-user] Arrays of mixed numeric type always float[] not variant[]
Brian G
brian at westwoodsvcs.com
Mon Mar 7 20:28:18 CET 2022
When I create an array
dim a = [1, 2, 3, 4, 4.5]
Gambas always creates a float[] not variant[], which makes it impossible to add sets like [1,3,4] to the array later. Is this the correct
behavior for mixed arrays of numbers?
"Failure is the key to success;
each mistake teaches us something" .. Morihei Ueshiba
Brian G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220307/ef382b94/attachment.htm>
More information about the User
mailing list