Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/array acces in function #852

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

boriel
Copy link
Collaborator

@boriel boriel commented Nov 3, 2024

Fixes #824

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 e8aee00 to ad79295 Compare November 4, 2024 20:08
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
1 participant