--- parser3/src/www/htdocs/Attic/index.html 2001/07/18 13:18:00 1.230 +++ parser3/src/www/htdocs/Attic/index.html 2001/07/23 13:59:52 1.233 @@ -13,7 +13,20 @@ $method[$$name] @test1[] test1 result +@odbc_test[] +^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{ + $пресса[^table:sql{select * from press}] + $пресса{^menu{ + $id, $date_row, $header, $short_text^rem{, $full_text}, $mode + }[
]} +} +
+ @main[] +^odbc_test[] +$a_1[a_1 value] +$a_1
+ ^eval(2*11) ^call[test1]
@@ -351,9 +364,9 @@ ${comment}. ^menu{$id$name$age} }} -# ^^string:sql{select name from paf where id=1}=^string:sql{select name from paf where id=1}{n/a}
-# ^^int:sql{select age from paf where id=1}=^int:sql{select age from paf where id=1}(111)
-# ^^double:sql{select age from paf where id=1}=^double:sql{select age from paf where id=1}(222)
+ ^^string:sql{select name from paf where id=1}=^string:sql{select name from paf where id=1}{n/a}
+ ^^int:sql{select age from paf where id=1}=^int:sql{select age from paf where id=1}(111)
+ ^^double:sql{select age from paf where id=1}=^double:sql{select age from paf where id=1}(222)
$paf[^hash:sql{select id,age from paf}] ^$paf.2.age=$paf.2.age