With this method, you parse your arguments to your function and do your calculation.
使用此方法,您可以解析函数的参数并执行计算。
The XSLT/XQuery processor uses the information in the function call, including the function name and the number of arguments, to select the method.
XSLT/XQuery处理器使用函数调用中的信息(包括函数名称和参数个数)来选择方法。
In the BGGA proposal, you can declare variables, method arguments, and method return values that are function types.
在BGGA方案中,可以声明function类型的变量、方法参数和方法返回值。
This method of function definition is ideal when the arguments and function result will always be strings.
当函数的参数和结果总是字符串时,该函数定义方法是一个理想方法。
Because semicolons, function return types, method arguments lists, and even the curly braces are sometimes omitted, using an equals sign prevents several possible parsing ambiguities.
因为分号,函数返回类型,方法参数列表,甚至大括号都经常会被省略,使用等于号可以避免几种可能的二义性。使用等于号也提醒了我们,即使是函数,在Scala里面也是值。
This method will use three arguments, and the names for the arguments are listed in the parenthesis immediately following the function command.
这一个方法将会使用三个参数,参数的名字直接在括号后列出。
A method is similar to a function—it takes arguments and returns a value—but the syntax is different.
方法和函数有些类似,也接收参数然后返回一个值,但语法稍微不同。
Raised when a function or method is invoked and at least one of the passed arguments does not meet the parameter specification of the called function or method.
在调用函数或方法,且传递的参数中至少有一个不符合被调函数或方法的参数规范时引发。
Raised when a function or method is invoked and at least one of the passed arguments does not meet the parameter specification of the called function or method.
在调用函数或方法,且传递的参数中至少有一个不符合被调函数或方法的参数规范时引发。
应用推荐