Page 1 of 1

ZeoScript syntax change

PostPosted: Tue May 05, 2009 10:42 am
by Aaron
Hi All,

A small note to script writers: I've updated the ZeoScript plugin (download from here), with the effect of making variable declarations more C-like.

Whereas before you had to write:

Code: Select all
new int "a"
new int "b"
new float "c"


You can now write:

Code: Select all
int a b
float c


I have updated the example scripts accordingly, and will include the updated ZeoScript plugin in the next developmental build of L3DT.

For the sake of backwards compatibility, the old-style declaration syntax (using the 'new' function) is deprecated but not removed, which means that will continue to be supported for the next few releases only.

Cheerio,
Aaron.