No description
Find a file
Sei Lisa 9f03c468f7 Fix example assert macro to make it more flexible
The previous version only optimized away the condition if it was side-effect-free, which borders on inadmissible. Fixed.

This new version also accepts any valid condition in LSL, not just an integer one but also float, key, list, string... so for example these are valid now:

assert(my_key_var);
assert([1, 2, 3]);
assert(PI);
assert(llSetPos(pos));
2016-11-18 00:18:22 +01:00
index.html Fix example assert macro to make it more flexible 2016-11-18 00:18:22 +01:00