返回值
要检索过程调用的结果(例如 Function 或 Property Get 过程),请将调用放在赋值的右侧:
result = ProcedureName
result = ProcedureName(argument1, argument2)
如果有参数,则必须存在括号。如果过程没有参数,则括号是多余的。
要检索过程调用的结果(例如 Function 或 Property Get 过程),请将调用放在赋值的右侧:
result = ProcedureName
result = ProcedureName(argument1, argument2)
如果有参数,则必须存在括号。如果过程没有参数,则括号是多余的。