Page 1 of 1

Constants

Posted: Fri Jul 05, 2013 9:36 pm
by Otuama
There seem to be some constants that are repeated in the docs. Is there a difference between them or should I use one instead of the other?

TYPE_GRID_DOMAIN & TYPE_HY_GRID_DOMAIN
TYPE_MIST & TYPE_HY_GRID_DOMAIN
TYPE_EMITTER & TYPE_PB_EMITTER
TYPE_GB_EMITTER & TYPE_HY_EMITTER


Actually, they seem to have the same effect but will some be removed in the future, for example: TYPE_EMITTER

Re: Constants

Posted: Fri Jul 05, 2013 9:57 pm
by Alex
Hi Sean,

Yes, those constants are still there for backward compatibility reasons.
It is better to use the ones with the _HY_ token for new scripts.

Re: Constants

Posted: Fri Jul 05, 2013 10:01 pm
by Otuama
Funky. Ta.