--- parser3/www/htdocs/Attic/index.html 2002/04/22 09:20:30 1.48
+++ parser3/www/htdocs/Attic/index.html 2002/04/26 10:44:19 1.55
@@ -6,13 +6,19 @@ $request:charset[windows-1251]
$response:charset[windows-1251]
$response:content-type[$.value[text/html]$.charset[$response:charset]]
-#@postprocess[body]
-#$body
-#$result[123]
+@postprocess[body]
+#=$env:HTTP_TEST=
+#=$env:REDIRECT_HTTP_TEST=
+#
+$body
+
+OK
@main[]
+#^sqldefaults[]
+#^eval(2)
#^tcrashlocaljunctionsv2[]
-^tcrashlocaljunctions[]
+#^tcrashlocaljunctions[]
#^tjunctions[]
#^replacetest[]
#^matchoptionpp[]
@@ -138,8 +144,47 @@ $response:content-type[$.value[text/html
#^xslt[]
#^xml[]
#^header[]
-
-OK
+#^tablehasht[]
+#^datecreatestring[]
+^mssqltypes1[]
+
+@mssqltypes1[]
+^connect[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32]{
+# ^string:sql{select { ts '1998-05-02 01:23:56.123' }}
+# ^string:sql{select CAST({ ts '1998-05-02 01:23:56.123' }AS smalldatetime)}
+# ^string:sql{select CAST({ts '2002-04-28 00:00:00.000'} AS smalldatetime)}
+ $t[^table::sql{select a from paf}]
+ ^t.count[]
+}
+
+@datecreatestring[]
+$d[^date::create[2002-04-33 01:03:04]]
+^d.sql-string[]
+
+@method[hash]
+$hash.key
+@mainZ[]
+^method[
+ $.key{code}
+]
+
+@tablehasht[]
+$t[^table::create{p
+1
+3
+2
+4}]
+
+$h[^t.hash[p]]
+
+=^h._count[]=
+
+
+@sqldefaults[]
+^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{
+ ^int:sql{select news_id from news where news_id=-1}[$.default{2}]
+ ^string:sql{select news_id from news where news_id=-1}[$.default{2}]
+}
@tcrashlocaljunctionsv2[]
$a[
@@ -156,10 +201,12 @@ $var[aaa]
$j
-@tcrashlocaljunctions1[]
+@tcrashlocaljunctions1[][var]
+$var[varvalue]
$j{
$var
}
+$j
@tjunctions[][tl]
$t[^t::create[]]