Diff for /parser3/src/classes/table.C between versions 1.148 and 1.150

version 1.148, 2002/04/12 11:44:27 version 1.150, 2002/04/15 13:17:04
Line 253  static void _menu(Request& r, const Stri Line 253  static void _menu(Request& r, const Stri
         for(int row=0; row<size; row++) {          for(int row=0; row<size; row++) {
                 table.set_current(row);                  table.set_current(row);
   
                 Value& processed_body=r.process_to_value(body_code);                  StringOrValue processed_body=r.process(body_code);
                 if(delim_maybe_code) { // delimiter set?                  if(delim_maybe_code) { // delimiter set?
                         const String *string=processed_body.get_string();                          const String *string=processed_body.get_string();
                         if(need_delim && string && string->size()) // need delim & iteration produced string?                          if(need_delim && string && string->size()) // need delim & iteration produced string?
                                 r.write_pass_lang(r.process_to_string(*delim_maybe_code));                                  r.write_pass_lang(r.process(*delim_maybe_code));
                         need_delim=true;                          need_delim=true;
                 }                  }
                 r.write_pass_lang(processed_body);                  r.write_pass_lang(processed_body);
Line 656  static void _select(Request& r, const St Line 656  static void _select(Request& r, const St
         for(int row=0; row<size; row++) {          for(int row=0; row<size; row++) {
                 source_table.set_current(row);                  source_table.set_current(row);
   
                 bool condition=                  bool condition=r.process_to_value(vcondition, 
                         r.process_to_value(                                  /*0/*no name* /,*/
                                 vcondition,   
                                 0/*no name*/,  
                                 false/*don't intercept string*/).as_bool();                                  false/*don't intercept string*/).as_bool();
   
                 if(condition) // ...condition is true=                  if(condition) // ...condition is true=

Removed from v.1.148  
changed lines
  Added in v.1.150


E-mail: