Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642
Answer Posted / lak
n=Inputbox("Enter Number Series to reverse")
for i=1 to len(n)
x=n mod 10
temp=temp&x
n=n/10
n=fix(n)
next
msgbox temp
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to access array data?
Mention what is variant in vbscript?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
What are the environments supported by vbscript language?
How will you release the memory acquired by an array variable in vbscript?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
Can anyone send me a vb script function for verifying the functionality of active links on a web page
how to set one column as primary key in QTP and fetch values accordingly
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
who will create the object?
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
Which function is used in the vbscript language to convert the specified expression into a date type value?
Write a Script for ATM in 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
What is the purpose of the err object in the vbscript language?