Not sure what you want to achieve, can you please more clear on this.

On 5/3/12, iRahulSingh <[email protected]> wrote:
> Hello Frnds ...
>
> Look into the following code :
> p = 5
> For i = 2 To p
>       MsgBox i
>       If i = 3 Then
>               p = 4
>       End If
> Next
>
> initially I thought output of this would be 1,2,3,4 BUT the OUTPUT is
> 1,2,3,4,5 !!
>
> Interesting... haven't checked the for loop help yet for vbscript but
> doesn't it look interesting ( hope not weired ;) )
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to