# File rongo.rb, line 121 def col(name, colloc) colloc -= 1 loc = @@validcolnames.index(name) if loc == nil senderror("Col name #{name} not valid for col") else infile = open(@@datafilename, "r") @@coldata[loc].clear while s = infile.gets val = s.split[colloc] @@coldata[loc].push(val.to_f) if val end end end