--- parser3/www/htdocs/Attic/_bug.html 2004/06/22 14:12:57 1.49 +++ parser3/www/htdocs/Attic/_bug.html 2005/07/28 11:23:03 1.91 @@ -1,45 +1,22 @@ -@main[] -^connect[oracle://mts_imprimatur2:imp2@mts]{ -# ^in[] - ^out[] - OK -} - -@inp[] -create or replace procedure paf(a in integer) as begin -insert into pif (a) values (:a); -end; -/ -@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] - ] - ] - ^int:sql{select count(*) from pif} - "^string:sql{select a from pif}" +$double(1.6) +^double.int[]
+^math:round($double) +
-# ^string:sql{select a from paf} - -@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" +$pdfsize[822674] +$pdfsize($pdfsize / 1000) +$pdfsize[^pdfsize.int[]] +=int:$pdfsize=
+^if($pdfsize > 1000){ + $pdfsize($pdfsize / 1000) + $pdfsize[^pdfsize.format[%.2g]] + $pdfsize[^pdfsize.match[\.][]{,}] + $pdfsize[$pdfsize ] +}{ + $pdfsize[$pdfsize ] +} -# ^string:sql{select a from paf} +

+ $pdfsize +

\ No newline at end of file