Não foi possível encontrar esta entrada. Mostrando resultados aproximados. Verifique a ortografia ou proponha a adição deste termo ao dicionário.
调用函数
调用一个函数
You will frequently have to call a function to move it upwards and see if it hits anything.
需要频繁地调用函数来将其向上移动以便检查该子弹是否会击中任何目标。
That is why we can call a function declaration before it is defined.
这就是为什么可以在(函数声明)的定义之前调用函数声明。
When you call a function, a local namespace that contains all the defined names is created.
当你调用一个函数时,会创建一个包含所有已定义名称的本地名称空间。
By default, you have to put quotes when you call a function. It is possible to use the unquoted keyword to indicate that a function does not require quotes for its arguments.
To call a function and use its return value as part of a larger expression, simply name it and append a parenthesized argument list
要调用函数并使用它的返回值作为语言表达式的一部分,只需要命名它并附加一个使用圆括号括起的参数列表
And again, a related problem that people run into is side-effects. You call a function and it returns a value, but maybe it, on purpose or on accident, modifies one of the actual parameters.
Once these routines have been defined, you can call them one or more times. You call the procedure to make it perform its task, and call a function to compute the value
一旦定义了这些例程,你就可以多次调用,其中调用过程可执行操作;调用函数能计算返回值。如下:
We have not covered quaternions and to be honest I don't think I understand them well enough to explain them. Fortunately we don't need to know how they work to use them. We just take the data out of the gltf file and call a function that builds a matrix from that data and use the matrix.
Let's say we need to load a third-party script and call a function that resides there.
假设我们需要加载第三方脚本,并调用其中的函数。
The debugger attempted to call a function within the debugged process but this function did not complete in time. The state of the program was saved to '%s'.
调试器尝试调用已调试进程内的某个函数,但该函数未及时完成。 程序的状态已保存到"%s"。
In real-life, the problem is how to remember the order of arguments. Usually IDEs try to help us, especially if the code is well-documented, but still... Another problem is how to call a function when most parameters are ok by default.
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.