write a vbscrpit to swap values
Answers were Sorted based on User's Feedback
Answer / manjunathareddy
Dim oNum1
Dim oNum2
oNum1=Cint(InputBox("Enter the First number here"))
oNum2=Cint(InputBox("Enter the Second number here"))
Msgbox "Before swapping numbers are"&" "&oNum1&" "&oNum2
oNum1=oNum1-oNum2
oNum2=oNum1+oNum2
oNum1=oNum2-oNum1
Msgbox "After Swaping numbers are"&" "&oNum1&" "&oNum2
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / monika
Dim oNum1
Dim oNum2
oNum1=Cint(InputBox("Enter the First number here"))
oNum2=Cint(InputBox("Enter the Second number here"))
Msgbox "Before swapping numbers are"&" "&oNum1&" "&oNum2
oNum1=oNum1+oNum2
oNum2=oNum1-oNum2
oNum1=oNum1-oNum2
Msgbox "After Swaping numbers are"&" "&oNum1&" "&oNum2
| Is This Answer Correct ? | 0 Yes | 0 No |
WHAT IS ENVIRONMENT VARIABLES?and where it is used in real time scenario?
What is string concatenation function in VBScript?
how to operate webobjects in a webpage using getobject function and then using generic methods?
I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<<The data retrieved from data base >>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent
Please Example programms on vbscript 1)writing functions and calling functions
write a vb script to find the size of d drive?
Hi I am having one folder with set of text files now i want to read and write that text files data into QTP. Any help plsss.
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
What are the environments supported by vbscript language?
Explain about the functionality of vb script?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks