Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642
Answer Posted / arpita
n=123
Do While n>0
i=n mod 10
vstr=vstr&i
n=n\10
Loop
msgbox vstr
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How will you get the natural logarithm of the given number in vbscript?
How will you convert a given number to long in vbscript?
Explain about filter expression?
Is VB Script Case sensitive or Case insensitive?
How will you convert a string to upper case string using vbscript?
What is the use of the instr function?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Explain the scope of the variables using dim, public, and private keywords respectively.
How to make sure that items in a wintree are sorted al?
how to acces the remote mechine using vb cript(QTP)
Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble
Which object provide information about a single runtime error in a vbscript?
What are the naming conventions while declaring a variable in the vbscript language?
what is diff between static and dynaic arrys?
What are class events?