|
|
| version 1.26, 2001/03/25 08:52:28 | version 1.28, 2001/03/25 09:40:54 |
|---|---|
| Line 69 static void set_or_load( | Line 69 static void set_or_load( |
| } | } |
| // parse cells | // parse cells |
| Table& table=*new(pool) Table(pool, columns); | Table& table=*new(pool) Table(pool, &method_name, columns); |
| char *row_chars; | char *row_chars; |
| while(row_chars=getrow(&data)) { | while(row_chars=getrow(&data)) { |
| if(!*row_chars) // remove empty lines | |
| continue; | |
| Array *row=new(pool) Array(pool); | Array *row=new(pool) Array(pool); |
| while(char *cell_chars=lsplit(&row_chars, '\t')) { | while(char *cell_chars=lsplit(&row_chars, '\t')) { |
| String *cell=new(pool) String(pool); | String *cell=new(pool) String(pool); |