Function GetColor(ByVal value As Double, ByVal limit As Double, ByVal larger As Double) As String
If(value < limit) Then
Return "Blue"
ElseIf(value > larger) Then
Return "Black"
Else
Return "Red"
End If
End Function
=code.GetColor(5,4,6); 无效的表达式 是为什么?
|