Please Example programms on vbscript 1)writing functions
and calling functions

Answer Posted / badri

'writing function


function example()

msgbox "This is example for writing funtion"
end function


'calling the above function--just we write the function name

example()

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the filter expression?

629


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

1516


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3273


What is dictionary object in vbscript? Explain?

623


How to take whole text output from screen of Bitmap Application.

1870






How will you convert a string to lower case string using vbscript?

557


Can anyone send me a vb script function for verifying the functionality of active links on a web page

1600


What are the 2 ways in which a variable can be declared in the vbscript language?

564


what is used of Property........End Property loop ? how to write the script for it?

1686


What is the difference between vb debugger and the script debugger?

588


How to create a cookie using vbscript?

591


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

2260


Description.Create

2162


What are the special sub-types in vbscript?

550


Explain about the support of asp for vb script functionality?

528