This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lara:docs:sheet [2018/05/26 14:37] joaobispo [Calling Aspects] |
lara:docs:sheet [2019/09/22 15:47] (current) |
||
---|---|---|---|
Line 187: | Line 187: | ||
// Previous syntax | // Previous syntax | ||
- | call optimizer: OptimizeFunctions(functions, optimizations); | + | call optimizer : OptimizeFunctions(functions, optimizations); |
var changedFuncs = optimizer.optFuncs; | var changedFuncs = optimizer.optFuncs; | ||
Line 350: | Line 350: | ||
</code> | </code> | ||
+ | Or you can also use the **match** boolean operator ( **~=** ): | ||
+ | |||
+ | <code lara> | ||
+ | |||
+ | 'aaaa' ~= /a*/ // Returns true | ||
+ | |||
+ | </code> | ||
==== Importing LARA Files ==== | ==== Importing LARA Files ==== |