恭喜,你发布的帖子
发布于 2022-06-09 07:24:01
1楼
你定义的b应该是二维数组吧?
if m0.0 and not "m0.0_sav" and count<10 then//统计m0.0第几次为1,count初始值为0
count:=count+1;
end_if;
"m0.0_sav":=m0.0;
if m0.0 then
for i:=0 to 70 do
b[count][i]:=a[i];
end_for;
end_if;
if m0.1 then
for i:=71 to 99 do
b[count][i]:=a[i];
end_for;
end_if;
请填写推广理由:
分享
只看
楼主