|
|
发表于 2016-4-7 13:57:13
|
显示全部楼层
你用下面代码输出就知道了* R# r- k4 {3 P3 n& a& S C. h
do
, \+ | p3 Y* b& {+ { seedTab.create;
& `1 i% S, x2 e: z seedTab.writeRow(1,1,0,1,"Size of demand");-- stream 1 = stream 2! M; d8 Q B# {0 ?
seedTab.writeRow(1,2,1,0,"Interarrival time of customers");1 D: D; K$ {( i* E4 l7 z" u i
seedTab.writeRow(1,3,1,1,"Lead time");* d" s9 f5 p) X: A! [
print seedTab[3,2];" m2 C3 h5 @* `
9 ?5 o- n$ Z3 w% ?
-- ……
: ^; W4 ~9 r& o' }3 nend;
' \9 R' l/ H3 }' C Q& m+ T* {# ~
5 o7 n1 v9 g6 u9 S<Path>.writeRow(Column:<any>, Row:<any>, Value:<any> [,Value:<any>, ..., Value:<any>]);/ V G1 V/ j) Z( H
这个说的也很清楚
, \! j* [ S1 V. }% j8 ^/ KwriteRow(1,1,0,1,"Size of demand") 就是从 第一列 第一行开始 依次按排写入 0,1,"Size of demand" |
|