|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了
: K% E6 g4 \+ j5 Kdo
3 S- j6 b/ O4 R* h/ ~2 e seedTab.create;
) n: H, W8 z( [* F2 c" u7 W seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2# D0 A! {" F. Y* ?
seedTab.writeRow(1,2,1,0,"Interarrival time of customers");
' W* x9 y: L+ B8 x* k! Z seedTab.writeRow(1,3,1,1,"Lead time");: ], h7 V, q" e/ f7 h7 z
print seedTab[3,2];/ r$ a7 v: x$ Q& Y) f
2 {, s! v' C# X7 O0 x
-- ……1 e& n( t0 U* D( j$ @) Z" A
end;/ H2 r+ c" G1 `3 z# L* N: q
% F m8 z/ g2 Y4 U. n
<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);' S0 G5 W, [% r3 y
这个说的也很清楚
- x8 i9 o1 J, H& P5 XwriteRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|