How can we return a value from User Defined Function ? For
Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b)
and i am addding those 2 and storing in to another var (c).
Now i want to pass that var(c) to another function (fun2).
What will be the script?

Answer Posted / krishna chand

I don't think so Ganesh because, The same i said in the
interview, then the Interviewr said it is wrong we can not
decalre the function directly like function fun(disp).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

database acl level has manager access.his name is listed in author and Reader fields. but he didn't sea a documents what is the reason?

1960


I Am Planning to Write ISTQB foundation level Ceritification of inida. can Any Body let me know how to prepare for it & Any Study material can you provide or Any other E-books i should need to Study. Please Mail to me ajaybe_2004@yahoo.co.in THnaks in advance Ajay

1838


I have installed QTP version 9.0. I have installed Mozilla firefox version 2.0. But QTP "Record and Run settings" in WEB tab shows FIREFOX 1.5 in drop down to run session begins. So QTP does not record anything which I type in firefox. How can i recognise firefox 2.0 and how can i update browser version in QTP?

1778


What is the procedure for installing USP-35 on my compure?

1699


How applet differ from Swings in java ?

1580






Someone who protect my excel file, m using ms office 2007 and windows 7 operating system, pls help me, how can i unprotect sheet

1898


I have deducted tds on pay slip for employees ist month tell me how to deposit this amt to govt. by bank or any form is available fill the same and deposit the govt. department. Pls explain me which form to be used for deposit the same with due date.

2855


can I name the build.xml with any name? if so how can I invoke ?

2000


How can you convert QTP 8.2 scripts to QTP 9.2. Please give some inputs ASAP.

2396


how can i get two different fonts in a single line

1560


Why we use Action Script(Multimedia Flash) rather than using other scripting languages (JAVA,VB...etc) ?

2366


how do u define in ur build.xml If I need to execute a task before executing my task?

1766


what is the Structure of an ANT file?

1749


If we add regular expressions to a script recorded in QTP, will it effect the performance of the script?

1767


why script is client dependant.

1785