|
|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了# Z- d/ p! l" e) R/ x
do
! [. R6 D9 r' m% m+ z) h seedTab.create;
+ L) \6 z0 @1 X+ ?; R6 W seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2
) [5 O8 N: Q$ c/ i& O- { seedTab.writeRow(1,2,1,0,"Interarrival time of customers");
3 W8 ^: n$ P. W, V7 V seedTab.writeRow(1,3,1,1,"Lead time");9 g7 \: F& c! y+ _. X4 ?& M' T- D
print seedTab[3,2];- I4 X/ a* d5 P1 H* C
. w. W3 q- h9 U
-- ……
5 y. x4 N! E& o# E) u& Uend;: L/ x% P0 I4 n
7 N0 `$ _# j5 U% s2 w- {3 t* a
<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);: Q t3 ?4 g w5 c h
这个说的也很清楚
$ W7 ]" m- M7 U6 `writeRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|