Privat erkan kaplan Eval Funktion: Difference between revisions
Jump to navigation
Jump to search
Kaplanerkan (talk | contribs) No edit summary |
Kaplanerkan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
* 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