Replies: 1 comment 1 reply
|
Adept doesn't let use you runtime variables for array sizes, you can either do: or or |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I mean primitive fixed array.
This code doesn't work:
But this code works:
arr [10] uintI don't want to have to remember the size of
arr, especially when usingforloops. This means I will need a way to get the size ofarrand assign it to the variableN.All reactions