Abhay,
          In VBscript for return a value from function we have to need
assign the value to the  (variable) name of the function.




On Wed, Jun 26, 2013 at 4:59 PM, automation.lifegoeasy.com <
[email protected]> wrote:

> This code has two issue -
>  1. This code has syntax error. function name & variable can't be same
> like function a & variable a.
>  2. You need to call a function to execute its code, this code does not
> contain call.
>
> What are you trying to achieve?
>
>
>
> On Wednesday, 26 June 2013 12:03:01 UTC+5:30, Nagaraj M wrote:
>>
>> Function A
>>  d=B(5,7)
>>   msgbox d
>>     end function
>>     Function B(a,b)
>>     c=a+b
>>    End function
>>     Output of d?
>>
>  --
> --
> 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.
>
>
>



-- 
Akhalesh yadav
+919555717928
+919310680659

-- 
-- 
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