--- parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27
+++ parser3/www/htdocs/Attic/_bug.html 2005/01/20 14:10:29 1.80
@@ -1,10 +1,29 @@
-$request:charset[koi8-r]
-$response:charset[windows-1251]
+@main[]
+^first[]
+^if(def $error){
+ ^if(^error.pos[koshmar]>=0){
+ $error, TODO:recover
+ }{
+ $error, TODO:die
+ }
+}
+@first[]
+^second[]
+^if(!def $error){
+ working1
+}
+@second[]
+^if(^math:random(2)){
+ $error[koshmar,test1]
+}
+^if(!def $error){
+ working2
-$SQL.connect-string[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32^;ClientCharset=windows-1251]
-#$SQL.connect-string[odbc://DSN=theatre_enciclop^;UID=root^;PWD=^;bug=here]
-#^bpt[]
-^connect[$SQL.connect-string]{
- ^string:sql{select question from faq}[$.limit(1)]
+ ^if(^math:random(2)){
+ $error[uzhas,test2]
+ }
+ ^if(!def $error){
+ working3
+ }
}
-OK
+