Equation Compiler PluginA REALbasic plugin which compiles a user entered string containing a mathematical formula into machine ... | |
Download |
Equation Compiler Plugin Ranking & Summary
Advertisement
Equation Compiler Plugin Tags
Equation Compiler Plugin Description
Equation Compiler Plugin allows a user entered equation which can contain up to six independent variables. The names of these variables are set by the user. The names pretty much follow the rules for REALbasic variable names, except that the underscore, _, is not permitted. Only two functions are needed for the plugin. They are compile() and evaluate(), both of which can take a variable number of arguments. The compile() function can take from 1 to 7 arguments. The first is the function text. The remaining are the string names of the user variables. Their order defines how the plugin uses the arguments of the evaluate function. The return type of compile() is a Boolean, true for a good compile, false for a bad one. The evaluate() function takes from 0 to 6 arguments. These are the input double values for the variables defined with compile{}. With no argument the function has no variables, as say 2*exp(3.5). The return type of evaluate() is a double which results from evaluating the function. Give Equation Compiler Plugin a try to see what it's really capable of!
Equation Compiler Plugin Related Software