Caprica icon indicating copy to clipboard operation
Caprica copied to clipboard

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

Open NidusUmbra opened this issue 1 year ago • 1 comments

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.

NidusUmbra avatar Apr 15 '24 09:04 NidusUmbra

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.

Orvid avatar Apr 15 '24 20:04 Orvid