哪位大侠帮忙看看下列为啥老报for语句错误和 IF 语句有问题?咋回事?
H01:= ref(h,1);
L01:= ref(l,1);
上涨:=1;
for i=1 to 10 do
begin
if ref(l,i+1)ref(h,i) then 上涨:=0;
end
end
顶: l
2楼
admin 发表于:2013/5/7 20:55:48
问题描述不清无法回答
3楼
sonicking 发表于:2013/5/7 21:11:49
贴的程序,显示格式不一样,咋办?
4楼
sonicking 发表于:2013/5/7 21:14:10
H01:= ref(h,1); L01:= ref(l,1); 上涨:=1; for i=1 to 10 do begin if ref(l,i+1)<ref(l,i) then BEGIN L01:=ref(l,i); if ref(h,i+1)<ref(h,i) then begin j:=i; i:=10; end if ref(h,i+1)>ref(h,i) then 上涨:=0; end end