ParseToFunction Command

From GeoGebra Manual
Jump to: navigation, search

ParseToFunction( <Function>, <String> )
Parses the string and stores the result to a function f, which must be defined and free before the command is used.
Example: Define f(x) = 3x² + 2 and text1 = "f(x) = 3x + 1". ParseToFunction(f, text1) returns f(x) = 3x + 1.
Note: See also ParseToNumber command.
© 2020 International GeoGebra Institute