希望解决问题是:穷尽10*10,各种排列组合,按各种排列组合,形成参数,去执行子程序
现在套用了两个循环
小循环把数组xishu(1)的1-10循环了一遍,
大循环把数组xishu(2)----(10)集体循环了一遍
现在需要把xishu(2)从2-10循环一遍
把xishu(3)从3-10循环一遍
把xishu(4)从4-10循环一遍
.........
..........
应该怎么加这个循环
或者有更简单的办法达到这个目的:10个变量,每个变量1-10种可能性,穷尽所有组合,谢谢
谢谢
FOR min_a=min TO max STEP +0.1
PUBLIC xishu(10)
STORE min_a TO xishu
FOR min_b=min_a TO max STEP +0.1
STORE min_b TO maimaixishu(1)
replace FOR 区间=0.95 系数 WITH xishu(1)
replace FOR 区间=0.90 系数 WITH xishu(2)
replace FOR 区间=0.80 系数 WITH xishu(3)
replace FOR 区间=0.70 系数 WITH xishu(4)
replace FOR 区间=0.60 系数 WITH xishu(5)
replace FOR 区间=0.40 系数 WITH xishu(6)
replace FOR 区间=0.30 系数 WITH xishu(7)
replace FOR 区间=0.20 系数 WITH xishu(8)
replace FOR 区间=0.10 系数 WITH xishu(9)
replace FOR 区间=0.05 系数 WITH xishu(10)
DO jisuan
ENDFOR
ENDFOR