Defining a function
Menu
Applies to:
Fast Math Parser
How to define a function
Remarks
Although
uCalc
has many core functions and operators, chances are you'll want to define some of your own as well.
uCalc
makes it very easy to do so: #c uc.DefineFunction("Area(Length, Width) = Length * Width") Answer = uc.Eval("5 + Area(10, 20)") #c
Prev
|
Next
Copyright © 2016 by uCalc Software (Daniel Corbier)