Privat erkan kaplan Eval Funktion: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


# Eval()
* Eval()


The Eval() function executes a JavaScript string. Consider the following:
The Eval() function executes a JavaScript string. Consider the following:
 
<pre>
For i= 1 To 3
For i= 1 To 3
   myControl = Eval("Button" + i)
   myControl = Eval("Button" + i)
   Print myControl.value
   Print myControl.value
Next
Next
</pre>

Revision as of 09:49, 26 February 2013

  • Eval()

The Eval() function executes a JavaScript string. Consider the following:

For i= 1 To 3
  myControl = Eval("Button" + i)
  Print myControl.value
Next