12-14-2022, 09:06 PM
This is just my guessing. If an array is contiguous in memory, create a "_MEM" variable to point to the first element of the array and find a way to pass also the total size of the array. For example for "DIM A(1 to 20) AS LONG" have a "DIM AM AS _MEM" then "AM = _MEM(A(1))", somehow make an _OFFSET out of "AM" (I believe "AM.OFFSET") and then pass an array size value of 80 bytes.
Would have to indicate the size of the UDT variable also besides the _OFFSET.
Would have to indicate the size of the UDT variable also besides the _OFFSET.