請問 Type 的變數能像VB6用中文命名嗎?

siuting

New Member
例子: Type Person(LastName As String, FirstName As String. Address As String, City As String)

請問 Type 的變數能像VB6用中文命名嗎?例如 LastName 改為姓氏?

Type Person(姓氏 As String, 名字 As String. 地址 As String, 所在城市 As String)
 

aeric

Well-Known Member
Licensed User
可以, 但应该这样写。
B4X:
Type Person(姓氏 As String, 名字 As String, 地址 As String, 所在城市 As String)
 
Top