03-06-2023, 11:13 AM
No. To get the address of an element, you normally use the @ operator.
I.e. @a returns the memory address (uInteger) of the [a] variable. For arrays, @arr won't work as expected as it will return the address of the array's metadata. To get the address of the 1st element you will use @arr(0, 0).
I will come back with a solution on the size, but it might be not that strightforward.
I.e. @a returns the memory address (uInteger) of the [a] variable. For arrays, @arr won't work as expected as it will return the address of the array's metadata. To get the address of the 1st element you will use @arr(0, 0).
I will come back with a solution on the size, but it might be not that strightforward.