📄 blockstatementsa.vb
字号:
Imports SystemModule BlockStatementsA Function Main() As Integer Dim a As Integer = 10 If a = 10 Then GoTo a End Iflabel: a = 11a: a = 5 If a = 5 Then GoTo 123 End If123: a = 7 If a = 7 Then GoTo _12ab End If_12ab: a = 8 If a = 8 Then GoTo [class] End If[class]: a = 0 If a <> 0 Then System.Console.WriteLine("#A1 Block statements not working") : Return 1 End If ' label declaration always takes precedence in any ambiguous situationf1: Console.WriteLine("Heh") : a = 1 : f1() End Function Function f1() As Boolean Console.WriteLine("Inside function f1()") Return True End FunctionEnd Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -