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

Array issue #10

Open
Relfos opened this issue Jan 7, 2022 · 0 comments
Open

Array issue #10

Relfos opened this issue Jan 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Relfos
Copy link
Contributor

Relfos commented Jan 7, 2022

As reported by Iggy:

  • I’ve found out that changing one element sometimes affects another element.
    So for example,
    I have initialized myArray variable like this:
    myArray[0] := 1;
    myArray[1] := 2;
    myArray[2] := 3;

And later on, if I change the first element
myArray[0] := 5;

then, sometimes myArray[1] got 3 or 4 something like this.

  • Also I couldn’t find the right way to initialize 1D array with values at once, for example, something like this.
    myArray := [1,2,4,5,8];
@Relfos Relfos added the bug Something isn't working label Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants