Contents
Syntax
The syntax for
exprtk.load(name)
@exprtk.load(name)
Description
The
Note: If you need to repeatedly evaluate the same expression multiple times in a row it is faster to load it, otherwise the expression needs to be found in a map every time it is evaluated.
f++ example
Example of
exprtk.add_package(basicio_package) exprtk.compile(hello, println('hello, world!')) exprtk.compile(mars, println('hello, mars!')) exprtk.load(hello) exprtk.eval
n++ example
Example of
@exprtk.add_package(basicio_package) @exprtk.compile(hello, println('hello, world!')) @exprtk.compile(mars, println('hello, mars!')) @exprtk.load(hello) @exprtk.eval