Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

IDL constant declarations in Lua

Constant declarations in IDL are mapped to the corresponding const declaration in Lua, with initializer expressions evaluated.

For example:

const short MAX_TRIES = 5 + 10 - 4;

is mapped as:

MAX_TRIES = 11;