[Gambas-user] Eval() square root

Tobias Boege tobs at taboege.de
Mon May 3 10:43:17 CEST 2021


On Mon, 03 May 2021, Martin wrote:
> Hi,
> 
> I am trying to make a calculator [1] that performs all the common
> operations. I'm using the Eval () function but I can't find documentation on
> the syntax that I should follow.
> Could someone tell me where to find information?
> Any example of square root?
> The Gambas3 example Evaluator [1] does not give information about all the
> syntax that Eval accepts only addition, multiplication and two trigonometric
> operations, that's all.
> Thanks.
> 

Eval() evaluates one line of *Gambas* code. That is the syntax.
All the functions supported by Eval() are listed here:

  http://gambaswiki.org/wiki/lang

:-)

Best,
Tobias

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk


More information about the User mailing list