pb报C0031错误
double i
i = double (sle_1.text)
if i<1000 then
st_3.text=string(i)
elseif 1000<=i<2000 then
st_3.text=string(i*9/10)
elseif 2000<=i<3000 then
st_3.text=string(i*8/10)
else 3000<=i
st_3.text=string(i*7/10)
end if
报了三个 C0031错误在第二和第三个then那一行还有else那一行