Hi,
Can anyone explain the difference between cbool and eval func with example?
Thanks in advance...
Can anyone explain the difference between cbool and eval func with example?
Thanks in advance...
|
cbool & eval
|
|
Hi,
Can anyone explain the difference between cbool and eval func with example? Thanks in advance...
In vbscript x = y can be interpreted two ways. The first is as an assignment statement, where the value of y is assigned to x. The second interpretation is as an expression that tests if x and y have the same value. We use Eval method if x=y result is True; if they are not, the result is False.
And CBool method test, if expression x=y evaluates to a nonzero value, returns True; otherwise, it returns False. Code: Dim A, B, Check , c, D |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Technical Support during 14 day eval | mundorff | 1 | 2,127 |
09-01-2009, 04:51 PM Last Post: Saket |
|
| Issues with QTP 10 eval version | amourack2 | 2 | 5,285 |
06-24-2009, 10:22 PM Last Post: amourack2 |
|