See Also
Description
Declares a new function.
Syntax
function functionname([argument1 [, argument2 [, ...argumentn]]])
{
statements
}
The function statement syntax has the following parts:
Part
Description
functionname
The name of the function.
argument1...argumentn
An optional, comma-separated list of arguments the function understands.
statements
One or more JScript statements.
Remarks
Use the function statement to declare a function for later use. The code contained in statements is not executed until the function is called from elsewhere in the script.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js756.htm,
2KB, , updated: 1997年9月30日 03:45, local time: 2025年9月15日 17:13,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/language/jscript/js756.htm"> function Statement</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.