|
|
| version 1.39, 2001/10/12 12:48:22 | version 1.41, 2001/11/05 11:46:20 |
|---|---|
| Line 2 | Line 2 |
| Parser: @b double parser class. | Parser: @b double parser class. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru) |
| $Id$ | $Id$ |
| */ | */ |
| Line 86 static void _sql(Request& r, const Strin | Line 86 static void _sql(Request& r, const Strin |
| if(default_code) | if(default_code) |
| val=r.process(*default_code).as_double(); | val=r.process(*default_code).as_double(); |
| else { | else { |
| PTHROW(0, 0, | throw Exception(0, 0, |
| &method_name, | &method_name, |
| "produced no result, but no default option specified"); | "produced no result, but no default option specified"); |
| val=0; //calm, compiler | val=0; //calm, compiler |