|
|
| version 1.149, 2002/04/15 10:35:21 | 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( | |
| vcondition, | |
| /*0/*no name* /,*/ | /*0/*no name* /,*/ |
| false/*don't intercept string*/).as_bool(); | false/*don't intercept string*/).as_bool(); |