Skip to content

Conversation

@boriel
Copy link
Collaborator

@boriel boriel commented Nov 3, 2024

Fixes #824

@boriel boriel force-pushed the fix/array_acces_in_function branch from e8aee00 to ad79295 Compare November 4, 2024 20:08
This required a revamp of the way the arrays were used.
The array.asm runtime now uses the LBOUND table *always*
unless the array is zero-based in all dimensions.

On each iteration, the index is subtracted the i-th lower-bound.
There is no longer the need to subtract it when pushing it.
@boriel boriel force-pushed the fix/array_acces_in_function branch from ad79295 to 1a9eeb4 Compare November 11, 2024 07:58
@boriel boriel closed this Nov 12, 2024
@boriel
Copy link
Collaborator Author

boriel commented Nov 12, 2024

Branch renamed.

@boriel boriel deleted the fix/array_acces_in_function branch November 12, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect array indexing when passed as parameter

2 participants