📄 forf.vb
字号:
'Author:' V. Sudharsan (vsudharsan@novell.com)'' (C) 2005 Novell, Inc.Option Strict OffModule M Function Main() As Integer Dim ErrMsg = "" Dim count As Integer For i As Long = 5 To 15 Step 1 count = count + 1 Next i If count <> 11 Then ErrMsg = "#A1 For not working" End If count = 0 For i As Short = 5 To 15 Step 1 count = count + 1 Next i If count <> 11 Then ErrMsg = ErrMsg & vbCrLf & "#A2 For not working" End If count = 0 For i As Byte = 5 To 15 Step 1 count = count + 1 Next i If count <> 11 Then ErrMsg = ErrMsg & vbCrLf & "#A3 For not working" End If count = 0 For i As Object = 5 To 15 Step 1 count = count + 1 Next i If count <> 11 Then ErrMsg = ErrMsg & vbCrLf & "#A4 For not working" End If count = 0 For i As Double = 5 To 15 Step 0.1 count = count + 1 Next i If count <> 101 Then ErrMsg = ErrMsg & vbCrLf & "#A5 For not working" End If count = 0 For i As Single = 5 To 15 Step 0.1 count = count + 1 Next i If count <> 100 Then ErrMsg = ErrMsg & vbCrLf & "#A6 For not working" End If count = 0 For i As Decimal = 5 To 15 Step 0.1 count = count + 1 Next i If count <> 101 Then ErrMsg = ErrMsg & vbCrLf & "#A7 For not working" End If If (ErrMsg <> "") Then Throw New System.Exception(ErrMsg) End If End FunctionEnd Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -