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

Please tell me how to write and call functions in classic ASP

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about scrrun.dll in vbscript?

863


What is the use of the date function in the vbscript language?

770


Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

2462


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

3138


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2780


What are the 2 ways to pass a value to the function?

712


Can u describe what kind of testing are for OTC derivates by banks.

1871


Anyone have qtp11.0 crack?

2591


i need to sort the data using qtp script for this how i need to write a qtp script

3437


Which loop is used in case of arrays in the vbscript language?

706


What is select case statement?

806


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1775


Explain about .wsf files?

827


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1648


What are events in the vbscript language?

770