|
|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了' i; s* }) _5 r
do0 {# M5 l& R) ^8 q5 n$ a
seedTab.create;- T& e; A" h$ F2 g
seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2
0 f* q# `0 }7 S! q seedTab.writeRow(1,2,1,0,"Interarrival time of customers");
0 g, L' L% K+ F6 E, `' b seedTab.writeRow(1,3,1,1,"Lead time");2 `5 V$ Z1 R) a+ x
print seedTab[3,2];
, M* Y2 ?$ q5 x, ` I
" M! C7 W8 ^% ~) K O! P' f$ O-- ……* R9 i& H( x- R
end;
: U. Z, W9 V2 u6 F. i; T/ G" E, n9 i, w0 f) e% ^' B6 @: X
<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);: G+ l, \- P1 l, z" u D& J
这个说的也很清楚 6 s2 V {& c4 ]) y9 G# d. v
writeRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|