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

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 07:41:41
vb中这句话“If e =

vb中这句话“If e = "+" Or "-" Or "×" Or "÷" ”为什么是错的啊?d = Len(Text1.Text) - 1e = Mid(Text1.Text,d,1)If e = "+" Or "-" Or "×" Or "÷" ThenText2.Text = 1ElseText2.Text = Text2.Text & 1End Ifdim d%,dim e as string
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

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

vb中这句话“If e = + Or - Or × Or ÷ ”为什么是错的啊?d = Len(Text1.Text) - 1e = Mid(Text1.Text,d,1)If e = + Or - Or × Or ÷ ThenText2.Text = 1ElseText2.Text = Text2.Text & 1End Ifdim d%,dim e as string VB中,If(Label1.caption=6)or(Label2.caption=6)or(Label3.caption=6) 这句话有什么错误么?坐等…… VB中 X= A or B or C X= A or B or CX= “A” or “B” or “C”这两个一样吗? IF y2.Value=1 then A or B 这个代码为什么可以没有 end if vb 中 IF C >=A vb.net中我用 IF b =“hello” or“hi” then为什么会显示“hi”无法转换为Boolean? 在vb中逻辑顺序是not>and>or>xor>eqr>imp如果我想先用OR然后再用AND这样有办法没呢?我想写的是这样的一个If (Combo2 < 5 Or comb2 > 4) And (Combo3 < 22 Or Combo3 > 19) ThenText1.Text = 白羊座End If本来是想在这两 在VB 中,if 0 then print Hello 是错误的,这句话是对是错 VB问题关于 if sgn(x) then 这句话怎么解释 VB错误,求指导select cangwei,qty,storenu,outofplace from YUCHUKU where chukunu='AA123456' and (cangwei='' or cangwei is null or qty=0 or qty='' or qty is null or storenu='' or storenu is null or outofplace='' or outofplace is null)这句话有问 在VB中如果a=b或a=c用if语句该怎么写?if a=b or c 这样写对吗?我不想写成if a=b or a=c,因为a是一个很长的计算表达式,这样写会造成重复计算,浪费时间. VB中,表达式 5>4 or 3=2的结果是 VB 中 x=7 and 3,y=7 or 3中的and和or是什么意思? vb相当于delphi的ShowMessageFmt()的函数是什么?比如delphi这句话:ShowMessageFmt('%x',[TTRYVERSION]);在VB中怎么表述? vb if判断很多or的限制if a=1 or a=2 then 这样可以,如果是if a=1 or a=2 or a=3 or.then(只是举例,问题在判断or的个数), or的个数超过一定的个数就报错了是吗? 有关VB布尔表达式我们电脑老师说VB中以下使用布尔表达式的方法是正确的:(计算闰年的程序)……m = (year Mod 400) Or ((year Mod 4) And NOT(year Mod 100))If m Then……忘了说明白……我想问一下的是, Vb中,静态变量只能在定义它的过程中使用,这句话对吗? VB中print i ;*;j;=;i*j这句话怎么理解,为什么要那么多分号和引号,不理解这句话! 在VB中 什么意思?例如:if intext then