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

Compilation error when declaring a local 2D array in a function #457

Closed
raptor-666 opened this issue May 18, 2024 · 1 comment
Closed

Compilation error when declaring a local 2D array in a function #457

raptor-666 opened this issue May 18, 2024 · 1 comment

Comments

@raptor-666
Copy link

I encountered a compilation error when trying to declare a local two-dimensional array within a function in a script. The script fails to compile and produces a syntax error.

Example Code::

function test_funct
    declare test_array[2, 2]
end function

Expected Behavior:
The script should compile without any errors.

Actual Behavior:
The script fails to compile.

Screenshot:
image

@raptor-666 raptor-666 changed the title Compilation Error When Declaring a Local 2D Array in a Function Compilation error when declaring a local 2D array in a function May 18, 2024
@mkruselj
Copy link
Collaborator

Duplicate of #90

@mkruselj mkruselj marked this as a duplicate of #90 Jun 14, 2024
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

No branches or pull requests

2 participants