User Tools

Site Tools


syntax:functions:eval

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:eval [2020/07/08 17:51] – created dmitrysyntax:functions:eval [2020/07/08 17:54] dmitry
Line 9: Line 9:
          
     eval('1' & '+1'     //result is 2.     eval('1' & '+1'     //result is 2.
 +     
 +    eval('max(1,2)'     //result is 2. 
 +    
     eval('[Count]+1'    //evaluated as [Count]+1.     eval('[Count]+1'    //evaluated as [Count]+1.
          
Line 15: Line 17:
          
     eval({Param1})        //if the value of {Param1} is '[Count]+1' then it's evaluated as [Count]+1. Parameter references are allowed.     eval({Param1})        //if the value of {Param1} is '[Count]+1' then it's evaluated as [Count]+1. Parameter references are allowed.
-     
-    eval('1+' & eval('1+1')) //result is 3. 
-     
-     
syntax/functions/eval.txt · Last modified: 2023/05/16 15:02 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki