|
|
| version 1.11, 2001/03/13 11:15:03 | version 1.13, 2001/03/13 12:07:14 |
|---|---|
| Line 18 VClass *table_class; | Line 18 VClass *table_class; |
| // methods | // methods |
| // TODO: проверить ^set в ^menu & co | |
| static void set_or_load( | static void set_or_load( |
| Request& r, | Request& r, |
| const String& method_name, Array *params, | const String& method_name, Array *params, |
| Line 126 static void _menu(Request& r, const Stri | Line 123 static void _menu(Request& r, const Stri |
| for(int i=0; i<table.size(); i++) { | for(int i=0; i<table.size(); i++) { |
| table.set_current(i); | table.set_current(i); |
| RTRY | Value& processed_body=r.process(body_code); |
| Value& processed_body=r.process(body_code); | |
| RCATCH(e) | |
| if(e.type()==ET_SILENT && e.code()==EC_BREAK) | |
| e.set_handled(); | |
| RFINALLY | |
| REND_TRY | |
| if(delim_code) { // delimiter set? | if(delim_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? |