The Calculator component API consists of the following methods:
After you call the set() or add() methods, you must call the apply() method to store the new expression in the Calculator component. The new expression can contain undefined parameters. Calling the apply() method adds these undefined parameters to the component with suitable mode, data type, and dimensions (for arrays). The expression can request additional functions if it contains a line that starts with '#import' followed by the Library name of the plug-in that defines the functions. |