ezeio2:scriptref:eval

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ezeio2:scriptref:eval [2023-11-30 17:57] andrehezeio2:scriptref:eval [2023-11-30 18:00] (current) andreh
Line 23: Line 23:
 <code javascript>     <code javascript>    
  
-   new Float:f = Eval( "12.34-2.34" );   +   new Float:f; 
 +    
 +   f = Eval( "12.34-2.34" );   
    // The value of f is now 10.00    // The value of f is now 10.00
 +
 +   f = Eval( "f(1)>f(2)" );   
 +   // If the value of field 1 is larger than the value of field 2, f=1.000. Otherwise f=0.000.
  
 </code> </code>
  
 <wrap hi>NOTE: First appeared in firmware 23112801</wrap> <wrap hi>NOTE: First appeared in firmware 23112801</wrap>
  • ezeio2/scriptref/eval.1701367067.txt.gz
  • Last modified: 2023-11-30 17:57
  • by andreh