Skip to content

Operator Let(赋值)


在重载 Operator = (Assignment) 时指示赋值运算符

语法

vb
{ Type | Class | Union } typename

declare operator Let ( [ byref | byval ] rhs as datatype )

End { Type | Class | Union }

operator typename.Let ( [ byref | byval ] rhs as datatype )

用法

lhs = rhs

Let lhs = rhs

基于 FreeBASIC 官方文档翻译 如有侵权请联系我们删除
FreeBASIC 是开源项目,与微软公司无隶属关系