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

Not getting this to compile (suggestion, add example code to the Backus-Naur spec) #34

Open
NidusUmbra opened this issue Apr 15, 2024 · 1 comment

Comments

@NidusUmbra
Copy link

The new code features are very welcome indeed. Thanks.

However I'm not getting this to compile:

...
For int x = 0 To aggroed.Length step 1
aggroed[i].StartCombat(self, true)
self.StartCombat(aggroed[i], false)
EndFor
...

Am I doing something wrong? It seems in order. I suggest clarifying with some examples.

@Orvid
Copy link
Owner

Orvid commented Apr 15, 2024

The for loop support requires the --enable-language-extensions flag to be passed when compiling. Language extension support is disabled by default, but that doesn't seem to have been updated in the readme yet.

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