Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
open #1, "manipy.csv", "r" //existing CSV file separated by spaces, not commas
|
||||
open #2, "manip2.csv", "w" //new CSV file for writing changed data
|
||||
|
||||
line input #1 header$
|
||||
header$ = header$ + ",SUM"
|
||||
print #2 header$
|
||||
|
||||
while !eof(1)
|
||||
input #1 c1, c2, c3, c4, c5
|
||||
sum = c1 + c2 + c3 + c4 + c5
|
||||
print #2 c1, c2, c3, c4, c5, sum
|
||||
wend
|
||||
|
||||
close #1
|
||||
close #2
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue