vb中这句话“If e = "+" Or "-" Or "×" Or "÷" ”为什么是错的啊?
问题描述:
vb中这句话“If e = "+" Or "-" Or "×" Or "÷" ”为什么是错的啊?
d = Len(Text1.Text) - 1
e = Mid(Text1.Text,d,1)
If e = "+" Or "-" Or "×" Or "÷" Then
Text2.Text = 1
Else
Text2.Text = Text2.Text & 1
End If
dim d%,
dim e as string
答
If e = "+" Or e="-" Or e="×" Or e="÷" Then