
好词典

源自编程术语,'by' + 'value' 的缩写,表示按值传递。
❶ 编程术语,表示参数传递方式为传值(By Value),函数内部修改不会影响原始变量。
“The parameter is passed byval, so changes inside the function won't affect the original variable.”
(参数通过传值方式传递,因此函数内部的修改不会影响原始变量。)
“In VBA, you can specify byval to ensure the function doesn't modify the input.”
(在VBA中,你可以指定byval以确保函数不会修改输入值。)
byval parameter — 编程中声明为传值的参数,函数接收的是变量的副本而非引用。
“A byval parameter ensures the original variable remains unchanged.”
(byval参数确保原始变量保持不变。)