第二個禮拜
變數宣告:Dim x, y As integer
Dim
Public
Private
Protected
談論有關傳值問題:
value or reference
IF:
If name IsNot Nothing Then
If x<>0 AndAlso y<>x Then
If x>2 OrElse y<>0 Then
Switch Case:
Select Case x
Case "0"c To "9"c
'It's a digit.
Case "A"c To "Z"c, "a"c To "z"c
'It's a letter.
Case "."c, ","c, " "c, ";"c, ":"c, "?"c
'It's a space or a punctuation mark.
Case Else
'It's cometing else.
End Select
這兩個禮拜的東西要生出一個計算機?!酷~
沒有留言:
張貼留言