int a=4857 i need output as 7584.without using any inbuild
function?

Answer Posted / bantanahal haribabu

s="12345"
While int(s)>0
n=s mod 10
x=x&n
s=int(s)/10
Wend
msgbox x

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Compare java script and vb script?

595


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

1794


Is VB Script Case sensitive or Case insensitive?

640


What are subprocedures in vbscript?

664


Why is the use of exit do or exit for statements within loops discouraged?

569






Explain about operator precedence in vb script?

577


What are the advantages of vbscript?

646


How to access array data?

545


How to create a cookie using vbscript?

591


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("<>") 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

1771


What is vbscript?

600


What is the difference between vb debugger and the script debugger?

593


Why to use option explicit in vb script?

600


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

803


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2498