⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 blockstatementsa.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 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 + -