Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,19 +1,19 @@
|
|||
to csv.data.manipulation :in :out
|
||||
local [header line list sum]
|
||||
openread :in
|
||||
setread :in
|
||||
openwrite :out
|
||||
setwrite :out
|
||||
make "header readword
|
||||
openread :in
|
||||
setread :in
|
||||
openwrite :out
|
||||
setwrite :out
|
||||
make "header readword
|
||||
print word :header ",SUM
|
||||
while [not eofp] [
|
||||
make "line readword
|
||||
make "list parse map [ifelse equalp ? ", ["\ ] [?]] :line
|
||||
make "sum apply "sum :list
|
||||
print (word :line "\, :sum)
|
||||
]
|
||||
close :in
|
||||
setread []
|
||||
close :out
|
||||
setwrite []
|
||||
while [not eofp] [
|
||||
make "line readword
|
||||
make "list parse map [ifelse equalp ? ", ["\ ] [?]] :line
|
||||
make "sum apply "sum :list
|
||||
print (word :line "\, :sum)
|
||||
]
|
||||
close :in
|
||||
setread []
|
||||
close :out
|
||||
setwrite []
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue