|
|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了
. U3 ?' i Q0 B" I# J% ^ [do0 S! p G/ G0 b7 V R! {) Y* ^8 O
seedTab.create;
- k9 p B6 Z( {8 `. Z! c7 d. V& [0 Q, } seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2$ K7 a5 \$ X# O# O7 o
seedTab.writeRow(1,2,1,0,"Interarrival time of customers");
; [3 Q0 }( |1 U g9 S1 P) e seedTab.writeRow(1,3,1,1,"Lead time");
" v% L* Y* x4 ?/ g. V print seedTab[3,2];4 ]8 @2 l9 ^, E
: p. y/ r3 {1 ~ A9 ?. n2 @- p, d
-- ……5 f) t# X+ O. ~+ m
end;8 C/ }0 ]9 g7 L: n! a
! r! ]$ x, R" G0 t% [$ z: f) e( g<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);" H3 a9 X; g7 _7 ~# V. w
这个说的也很清楚 / t5 v @9 l f2 i
writeRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|