--- parser3/src/www/htdocs/Attic/index.html 2001/06/27 14:23:21 1.208 +++ parser3/src/www/htdocs/Attic/index.html 2001/06/29 14:16:09 1.213 @@ -1,10 +1,36 @@ @main[] +$one(1) +$z(0) +^eval(^one.int[]%$z) +
+ +$form:id: +
+ ^switch(2){ ^case(1;4;3){143} ^case[DEFAULT]{default} } +
+^switch(2){ + ^case(1;2;3){143} + ^case[DEFAULT]{default} +} +
+^switch(2){ + ^case(1;5;3){143} +} + +
+^switch(2){ + ^case(2){2} +}
+^switch[2]{ + ^case(2){![2]} +} +
$hash[$a[1]] @@ -193,7 +219,7 @@ ${comment}. ^connect[$connect-string]{ $shit[^taint[our's]] # $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}] - ^nothing:sql{update paf set age=age+1} + ^void:sql{update paf set age=age+1} $paf[^table:sql{select * from paf order by id desc}(5)] $paf{ ^if(^empty[]){query result is empty}{