Although you CANNOT do this in QB1.1, QB4.5, or QB64, you CAN do this in supersets of the BASIC dialect known as QB7.1(BC7/PDS), and VBDOS(v1.00):
It must be time for my YEARLY or MULTI-YEARLY petition for ARRAYs in UDT!
ARRAYs IN UDTs PLEASE!
3.14159265 358979323 846264338 327950288 419716939 937510582E+00000
3.14159265 358979323 846264338 327950288 419716939 937510582E+00000
6.28318530 717958647 692528676 655900576 839433879 875021164E+00000
You can have arrays of types. You just can't have arrays IN types.
It must be time for my YEARLY or MULTI-YEARLY petition for ARRAYs in UDT!
ARRAYs IN UDTs PLEASE!
To me, this seems absolutely simple enough for an array in type:
@madscijr The example does show how to release it from memory. I just have it commented out. And of course it is cross-platform. It's just a regular QB64 function.
yes, but mem requires a lot of house keeping, not user friendly
I thinking of faking an array using a string*size
https://www.php.net/manual/en/function.serialize.php