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

📄 localvariablesb.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
Option Strict Off' Testing implicitly declared local varable in funtionImports SystemModule LocalVariablesB    Function f1(ByVal a As Integer, ByVal b As Integer) As Integer        f1 = a + b    End Function    Function f2(ByVal x As Integer)        f2 = x        If f2 = 0 Then            Return 0        Else            Return f2 + f2(f2 - 1)        End If    End Function    Function Main() As Integer        Dim a As Integer        a = f1(10, 12)        If a <> 22 Then            System.Console.WriteLine("#LV1") : Return 1        End If        a = f2(5)        If a <> 15 Then            System.Console.WriteLine("#LV2") : Return 1        End If    End FunctionEnd Module

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -