|
|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了4 G5 h* Q+ r% I6 S2 L
do
+ N- i/ `6 S' e. W6 D# I- R. {) m, a seedTab.create;
& ^1 s$ D& @, g; S. y seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2+ B! U+ L. Y( W2 w6 W
seedTab.writeRow(1,2,1,0,"Interarrival time of customers");: b. R" }+ S$ X, `( H
seedTab.writeRow(1,3,1,1,"Lead time");
5 g/ Z- |" f5 e. T7 ?1 K& Z print seedTab[3,2];
& ]7 E/ E( L Z4 }' ]
. G9 K# L1 a, |/ w7 D% p0 O' Q-- ……0 ^4 d/ m4 j* y2 K, g( O( A8 c8 M
end;
$ k% n5 q6 d8 M* U/ S) n8 e# x
/ Z P$ f1 p: N; r5 {) a# J<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);
$ p$ {3 X+ `8 {5 D$ p( s这个说的也很清楚 4 L" u# |6 M8 \9 C' ~- i
writeRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|