📄 typestructurea.vb
字号:
'Author: Ritvik Mayank <mritvik@novell.com>'Copyright (C) 2005 Novell, Inc (http://www.novell.com)Option Strict OffImports SystemStructure Somestruct Dim a As String Const b As Integer = 25End StructureModule M Function Main() As Integer Dim x As Somestruct x.a = 10 If x.a <> 10 Then Throw New Exception("Expected x.a = 10 but got " & x.a) End If Dim y As Somestruct = x x.a = 20 If y.a <> 10 Then Throw New Exception("Expected y.a = 10 but got " & y.a) End If End FunctionEnd Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -