Handling common events is as simple as calling a function like click , submit , or mouseover and passing it an event handler function.
处理常见事件就像调用函数(比方说click 、submit或mouseover)和为其传递事件处理函数一样简单。
Normally, a function's local variables and the parameters used when calling a function only exist for the lifetime of the function itself.
通常,一个function的局部变量和参数的存在周期(life time)为该function的存在周期。
When calling a function, make sure that you always include the parentheses and any required arguments.
在调用函数时,请确保始终包括圆括号和任何必选参数。
The syntax for invoking a method is different from the syntax for calling a function.
调用一个方法的语法与调用函数的语法不一样。
Coupling also occurs when code in one module USES code from another, perhaps by calling a function or accessing some data.
当一个模块代码使用另一个模块代码,可以是调用一个函数或读取数据,这个时候会发生耦合。
The most recent status or error code generated as the result of calling a function defined by the System Configuration framework.
调用在系统配置框架中定义的此函数所产生的最新的状态信息或错误代码。
The syntax for calling a function in another module by specifying the module name followed by a dot (period) and the function name.
点符号:调用某一个模块的某一函数的语法形式,就是模块名后加一个点,也就是英文的句号,再加函数名。
When Calling a Function Hundreds of Times, How Do I know Which Call Failed?
当一个函数被调用数百次时,如何确定哪次调用失败了?
Calling a function without parentheses causes the text of the function to be returned instead of the results of the function.
不带圆括号就调用函数将导致返回函数的文本,而不是函数的结果。
Calling a function without parentheses causes the text of the function to be returned instead of the results of the function.
不带圆括号就调用函数将导致返回函数的文本,而不是函数的结果。
应用推荐