int a=4857 i need output as 7584.without using any inbuild
function?
Answer Posted / r.singh
varnum=4857
vartemp=0
while(varnum/10)>0 then
vartemp=(vartemp*10)+(varnum mod 10)
varnum=varnum/10
wend
rev=vartemp
msgbox rev
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
1. How do declare public variable in vb scripts?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
Which keyword is used to declare a variable in the vbscript language?
What is the difference between vbscript and vba?
Mention what is the main difference between function and sub-procedure?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
How will you format a number in percetage format in vbscript?
Mention what is select case statement?
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
How many types of operators are available in the vbscript language?
What methods are used to create text files and open text files in the vbscript language?
What are class properties?