Language Reference |
Declares a new function.
function functionname( [argument1 [, argument2 [, ...argumentn ]]])
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.
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.
There is an arguments array that can be used to access the optional arguments. The arguments property allows a function to handle a variable number of arguments. The length property of the arguments object contains the number of arguments passed to the function. The individual arguments contained in the arguments object can be accessed in the same way array elements are accessed.
© 1996 by Microsoft Corporation.
|file: /Techref/language/asp/js/206.htm, 2KB, , updated: 2003/4/16 14:20, local time: 2019/5/23 13:04,
|©2019 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://www.piclist.com/techref/language/asp/js/206.htm"> Microsoft® JScript Language Reference </A>
|Did you find what you needed?|
PICList 2019 contributors:
o List host: MIT, Site host massmind.org, Top posters @20190523 RussellMc, David Van Horn, AB Pearce - UKRI STFC, Bob Blick, David C Brown, Allen Mulvey, Dwayne Reid, James Cameron, Jason White, Neil,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!