|
|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了
2 s) n$ y2 [1 H1 e, P, Ado
: J( F4 w0 Z$ E- p) ]8 E( ] seedTab.create;
* g# `$ l" T7 Y+ Z' V7 \ seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2$ g1 |7 h7 K, e# m3 K/ g1 {6 ]
seedTab.writeRow(1,2,1,0,"Interarrival time of customers");5 g& Q; x* M6 U( R6 W" |
seedTab.writeRow(1,3,1,1,"Lead time");% W7 _: i' z1 N3 W* y1 m; S, ?
print seedTab[3,2];* D, i3 A5 `( j3 e, x
" m8 s/ j2 A& @
-- ……
$ ^& `$ T8 `# T m' V( [( y6 a- i% aend;
+ o) }0 E: o8 l: a6 P
1 x& i0 M% a0 F$ \; U! a3 b<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);
) D* K5 U1 ^: h3 |. ?这个说的也很清楚 7 R! e5 _8 j: n% V4 b1 r+ K1 P8 c
writeRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|