按键精灵if ,elseif语法报错? 5
IfForm1.InputBox2.Text<=55ThenForm1.InputBox7.Text=Form1.InputBox2.TextElseIfForm1.In...
If Form1.InputBox2.Text <= 55 Then
Form1.InputBox7.Text = Form1.InputBox2.Text
ElseIf
Form1.InputBox2.Text <= 70 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 55) * 3 + 55
ElseIf
Form1.InputBox2.Text <= 80 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 70) * 6 + 100
ElseIf
Form1.InputBox2.Text <= 94 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 80) * 10 + 160
ElseIf
Form1.InputBox2.Text <= 100 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 94) * 20 + 300
End If
报错 错误代码0 求解哪里不对 展开
Form1.InputBox7.Text = Form1.InputBox2.Text
ElseIf
Form1.InputBox2.Text <= 70 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 55) * 3 + 55
ElseIf
Form1.InputBox2.Text <= 80 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 70) * 6 + 100
ElseIf
Form1.InputBox2.Text <= 94 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 80) * 10 + 160
ElseIf
Form1.InputBox2.Text <= 100 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 94) * 20 + 300
End If
报错 错误代码0 求解哪里不对 展开
展开全部
If Form1.InputBox2.Text <= 55 Then
Form1.InputBox7.Text = Form1.InputBox2.Text
ElseIf Form1.InputBox2.Text <= 70 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 55) * 3 + 55
ElseIf Form1.InputBox2.Text <= 80 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 70) * 6 + 100
ElseIf Form1.InputBox2.Text <= 94 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 80) * 10 + 160
ElseIf Form1.InputBox2.Text <= 100 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 94) * 20 + 300
End If
Form1.InputBox7.Text = Form1.InputBox2.Text
ElseIf Form1.InputBox2.Text <= 70 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 55) * 3 + 55
ElseIf Form1.InputBox2.Text <= 80 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 70) * 6 + 100
ElseIf Form1.InputBox2.Text <= 94 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 80) * 10 + 160
ElseIf Form1.InputBox2.Text <= 100 Then
Form1.InputBox7.Text = (Form1.InputBox2.Text - 94) * 20 + 300
End If
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询