词法变量英文解释翻译、词法变量的近义词、反义词、例句
英语翻译:
【计】 lexical variable
分词翻译:
词法的英语翻译:
accidence; morphology
变量的英语翻译:
variable
【计】 V; variable
【化】 variable
【医】 variance
网络扩展解释
词法变量
ci2 fa3 bian4 liang4
Lexical Variable
lɛksɪk(ə)l ˈvɛːrɪəbl
词法变量是一个在代码块内部定义、可以被同一块中的代码访问的变量。它在定义时被标记为“变量”。
A lexical variable is a variable that is defined inside a block of code and can be accessed by the code in the same block. It is marked as a "variable" when defined.
词法变量也称为静态变量。它们的生命周期通常是在整个代码块内或当前子程序内。
Lexical variables are also known as static variables. Their lifespan is usually within the entire block of code or current subprogram.
例如:
For example:
my $name = "Tom"; # 声明一个词法变量$name
print "My name is $name"; # 在同一块中访问$name
$name的安全存在于它被定义的代码块范围内。
The safety of $name exists within the block scope in which it is defined.
近义词:
Synonyms:
静态变量:static variable
反义词:
Antonyms:
动态变量:dynamic variable
英文单词常用度:
Frequency of English words:
中等
Moderate