早教吧 育儿知识 作业答案 考试题库 百科 知识分享

vb中这句话“Ife="+"Or"-"Or"×"Or"÷"”为什么是错的啊?d=Len(Text1.Text)-1e=Mid(Text1.Text,d,1)Ife="+"Or"-"Or"×"Or"÷"ThenText2.Text=1ElseText2.Text=Text2.Text&1EndIfdimd%,dimeasstring

题目详情
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