Re: Reading a file into a "sequence"
- Posted by cklester <cklester at yahoo.com> Nov 18, 2004
- 507 views
John F Dutcher wrote: > > Something more is needed to allow referring to each quoted string in the > file as a member of a sequence....again as in line[1] or line[2] ?? See if you can find kat's "strtok" library. Then you could do this: line = gets(fn) if not atom(line) then s = parse(",",line) -- from memory... might be other way around :) ... Now s[1] = "%HDR", s[2] = "EXTRACT", etc...