--- parser3/www/htdocs/Attic/_bug.html 2004/06/22 14:12:57 1.49 +++ parser3/www/htdocs/Attic/_bug.html 2004/12/23 14:51:32 1.74 @@ -1,45 +1,41 @@ -@main[] -^connect[oracle://mts_imprimatur2:imp2@mts]{ -# ^in[] - ^out[] - OK -} +@print[title;hash][key;value] +

$title ^hash.foreach[key;value]{$key}[ | ]

+=$hash.[zzz].rrggbb= -@inp[] -create or replace procedure paf(a in integer) as begin -insert into pif (a) values (:a); -end; -/ +@main[] +$table[^table::create{color rrggbb +red ff0000 +green 00ff00 +blue 0000ff +_default 000000} +] -@in[] -# ^void:sql{create table paf(a clob)} -# ^void:sql{insert into paf (a) values (/**a**/'a')} -# ^void:sql{insert into paf (a) values (:unk)} - ^void:sql{delete from pif} - ^void:sql{call paf(:a)}[ - $.bind[ - $.a[2] - ] +$c_hash[ + $.red[ + $.color[red] + $.rrggbb[ff0000] + ] + $.green[ + $.color[green] + $.rrggbb[00ff00] ] - ^int:sql{select count(*) from pif} - "^string:sql{select a from pif}" + $.blue[ + $.color[blue] + $.rrggbb[0000ff] + ] + $._default[ + $.color[_default] + $.rrggbb[000000] + ] +] -# ^string:sql{select a from paf} +$a_hash[^table.hash[color]] +^print[a_hash:;$a_hash] -@outp[] -create or replace procedure pafm(ai in integer,ao out integer) as begin -ao:=ai; -end; -/ -@out[] - $vars[ - $.ai(2222) - $.ao[sad] - ] - ^void:sql{call pafm(:ai,:ao)}[ - $.bind[$vars] - ] - "$vars.ai" - "$vars.ao" +$b_hash[^hash::create[]] +^table.menu{ + ^b_hash.add[$.[$table.color][$table.fields]] +} +^print[b_hash:;$b_hash] -# ^string:sql{select a from paf} +^print[c_hash:;$c_hash] \ No newline at end of file