*method:1*
Var1 = 1

function ReturnValues( Byref Var1)
a=1
b=2

Var1=a&","&b


End function

Print var1   'It will print 1,2(use split)

*Method 2*



Print ReturnValues  'It will print 1,2(use split)


function ReturnValues( )
a=1
b=2

ReturnValues=a&","&b


End function








*Method3--->Use arraysMethod4---->Use dictionaryThere are n number of ways 
are there  if you think...*


On Thursday, December 12, 2013 7:58:23 AM UTC+5:30, Sushil Kumar wrote:
>
> Can anybody tell how to return two values from a function in vbscript 
> using ByVal????
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to