Kamesh-QTP-VBScript-learners
Custom Search
Monday, September 20, 2010
How do you return two values from a function
result=example(2,3)
function example(a,b)
dim myarray(2)
myarray(0) = a+b
myarray(1)=a*b
example=myarray
end function
msgbox result(0)
msgbox result(1)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
kamesh
View my complete profile
Followers
Blog Archive
►
2018
(1)
►
December
(1)
►
2014
(2)
►
December
(1)
►
May
(1)
►
2013
(6)
►
August
(1)
►
January
(5)
►
2012
(39)
►
November
(5)
►
October
(6)
►
August
(2)
►
July
(1)
►
June
(4)
►
May
(11)
►
April
(1)
►
March
(5)
►
January
(4)
►
2011
(15)
►
October
(2)
►
September
(1)
►
May
(9)
►
January
(3)
▼
2010
(27)
►
October
(3)
▼
September
(18)
Diff B/w Actions and Functions
Open a Google page without using systemUtil.Run co...
write the code to reverse a string without using S...
what is the script to select 2 or more than 2 opti...
How do you return two values from a function
How do you return a value from a function
How to handle Dynamic Arrays?
What is the Difference Between Wait and Sync?
what are the environment variables,how do you use ...
IF there are seven browsers with same name open. I...
How to Map network drive(Server) as a Drive in you...
How can i Save the snapshots in a specified folders
The string is like KAMESWARARAO , write a script f...
What is the difference between Systemutil.run , in...
what is Option Explicit in QTP
Defference between pass byVal and ByRef
I have given u a application to automate it what a...
There are some links on the web page,write a scrip...
►
March
(4)
►
February
(2)
►
2009
(25)
►
October
(5)
►
September
(2)
►
June
(2)
►
April
(5)
►
March
(11)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.