Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

esay1-but need answer

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi :) Does anyone know the syntax for a function in vbscript?
thanks
 
Code:
function MyFunction(byval argument1[, byval argument2])
     dim localVariable

     localVariable = "test"

     MyFunction = localVariable
end function

Hope this helps. Yours,

Rob.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top