• Watch the variables being used in a function. If you notice a function using an out-of-scope variable more than once, store it in a local variable and use that instead.

    仔细检查函数所有使用变量如果一个变量不是当前作用域定义的,而且使用不止一次那么我们就应该把这个变量保存局部变量中,而使用这个局部变量来进行读写操作。

    youdao

  • The calculator makes use of the local statement to declare x as a local variable that is available only within the scope of the mycalc function.

    这个计算器利用local语句x声明局部变量只能mycalc函数范围使用。

    youdao

  • Because tally is a local variable within the function, it is created anew with each call and falls out of scope and is destroyed automatically when each call returns.

    由于tally函数本地变量将在每次调用重新创建清空范围并且每个调用被返回自动销毁

    youdao

  • The line xdebug.show_local_vars = 1 prints all local variables in the outermost scope of each function call, including variables not yet initialized.

    代码 xdebug.show_local_vars =1将打印每个函数调用外围中的所有局部变量包括尚未初始化的变量。

    youdao

  • Usually the local scope references the local names of the (textually) current function.

    通常情况下,局部作用域引用当前函数局部名字

    youdao

  • To explain how scope interacts with overloading we will violate this practice and use a local function declaration.

    为了解释作用重载相互作用,我们违反上述规则使用局部函数声明。

    youdao

  • A name declared local to a function hides the same name declared in the global scope (Section 2.3.6, p. 54).

    函数局部声明名字将屏蔽在全局作用域(第2.3.6节)内声明的同名名字。

    youdao

  • Use this function to clear variables of type VARIANTARG (or VARIANT) before the memory that contains the VARIANTARG is freed (as when a local variable goes out of scope).

    使用这个函数清除VARIANTARG(VARIANT)类型变量内存包含VARIANTARG被释放(一个局部变量超出作用域时)。

    youdao

  • Use this function to clear variables of type VARIANTARG (or VARIANT) before the memory that contains the VARIANTARG is freed (as when a local variable goes out of scope).

    使用这个函数清除VARIANTARG(VARIANT)类型变量内存包含VARIANTARG被释放(一个局部变量超出作用域时)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定