|
|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了
5 q3 ?" R# X% N7 G' h/ a" R+ h% pdo% ~1 O' f) y$ R" a2 \! Q
seedTab.create;* k+ a9 d) t# f g
seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2
/ a. S3 |4 H. @: ? seedTab.writeRow(1,2,1,0,"Interarrival time of customers");
- ]9 X, K, f3 y9 Q0 O seedTab.writeRow(1,3,1,1,"Lead time");
/ M1 r |# P1 Z5 s2 P print seedTab[3,2];* Q1 [. r! @/ h; x4 J8 y3 a
$ x- D2 E, e$ Z: F-- ……
( @0 @+ M3 X* K! D" K3 iend;# k, E7 k4 K7 Q, G2 o
0 g/ U+ X" T" U5 {- S7 ^5 q0 X
<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);
' g) |: M# S+ b& L这个说的也很清楚 ~$ V/ q6 z. e# y I1 i" a2 c6 c
writeRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|