go top

local var

网络释义

  局部变量

除了field以外,还可以有局部变量(local var),全局变量(global var,C#不支持),静态变量(static var)。函数的参数也可看成是一种变量。

基于18个网页-相关网页

有道翻译

local var

局部变量

以上为机器翻译结果,长、整句建议使用 人工翻译 。

双语例句

  • Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var).

    仅定义一个局部变量而没在函数中调用它,同样会减慢速度(其程度相当于递增一个局部变量)。

    youdao

  • Also as the name says, implicitly typed local variable, you cannot use var for field declaration or constant variables, therefore following declarations will both produce a compiler error.

    故名思意,“隐式类型局部变量”将无法用于域变量或常量的声明中,否则将导致编译错误。

    youdao

  • Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var). PHP probably does a check to see if the global exists.

    仅定义一个局部变量而没在函数中调用它,同样会减慢速度(其程度相当于递增一个局部变量)。PHP大概会检查看是否存在全局变量。

    youdao

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

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

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