
Posts: 3822
Joined: 16 Sep 2007, 22:00
KaM Skill Level: Skilled
ICQ: 269127056
Website: http://lewin.hodgman.id.au
Yahoo Messenger: lewinlewinhodgman
Location: Australia
Re: Script changes in RC3
The other obvious way to do it is using the Include function (and Exclude for removing). Unfortunately these functions aren't defined by PascalScript.
I managed to define Include/Exclude myself after some hacking around in the compiler/runtime code (which is tricky because the compiler is over 15,000 lines and the runtime is over 12,000). I looked at making it be able to interpret "[myVar]" as a set but it looks like that won't be easier. Include/Exclude should be enough anyway. I'll discuss it with Krom, we can probably include these functions in the next release.