Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.223 and 1.232

version 1.223, 2001/07/11 15:02:09 version 1.232, 2001/07/23 12:41:47
Line 5  input_date.p Line 5  input_date.p
 @href[href zzz;title xxxx;ставить]  @href[href zzz;title xxxx;ставить]
 ^if($ставить){y;n}  ^if($ставить){y;n}
   
   
   @call[name][method]
   $method[$$name]
   ^if(def $method){^method[]}
   
   @test1[]
   test1 result
   
 @main[]  @main[]
   $a_1[a_1 value]
   $a_1<hr>
   
   ^eval(2*11)
   ^call[test1]
   <hr>
   $input_date:input_date_auto_test
   <hr>
   #$string:z[1]
   #<hr>
   $path[/news/tululu/]
   $pieces[^path.lsplit[/]]
   $pieces{^count[]: ^menu{{$piece}}[,].}
   <hr>
 ^href[href;title](1<2)  ^href[href;title](1<2)
   
 <hr>  <hr>
Line 271  $th[^t2.hash[key;a]] Line 293  $th[^t2.hash[key;a]]
   
 $filelist[^table:dir[.]]  $filelist[^table:dir[.]]
 <hr>  <hr>
 $path[/news/tululu/]  
 #^path.flip[]  
 <hr>  
 $branches[^table:set{name       val  
 index.cgihtml   123  
 }]  
 $splitURI[^request:uri.lsplit[/]]  
 name ^if(^branches.locate[name;$splitURI.1]){found;not found}:  
 $branches.name  
 <HR>  
 $splitURI[^request:uri.lsplit[/]]  
 $splitURI.0!$splitURI.1  
 <HR>  
   
 $t2[^table:set{dir      title  $t2[^table:set{dir      title
 /here   Here  /here   Here
 }]  }]
Line 337  ${comment}. Line 345  ${comment}.
 ^connect[$connect-string]{  ^connect[$connect-string]{
         $shit[^taint[our's]]          $shit[^taint[our's]]
 #       $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}]  #       $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}]
         ^void: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[^table:sql{select * from paf order by id desc}(5)]
         $paf{          $paf{
         ^if(^empty[]){query result is empty}{          ^if(^empty[]){query result is empty}{
Line 346  ${comment}. Line 354  ${comment}.
                 ^menu{<tr><td>$id</td><td>$name</td><td>$age</td></tr>}                  ^menu{<tr><td>$id</td><td>$name</td><td>$age</td></tr>}
         </table>          </table>
         }}          }}
         ^^string:sql{select name from paf where id=1}=^string:sql{select name from paf where id=1}<br>          ^^string:sql{select name from paf where id=1}=^string:sql{select name from paf where id=1}{n/a}<br>
         ^^int:sql{select age from paf where id=1}=^int:sql{select age from paf where id=1}<br>          ^^int:sql{select age from paf where id=1}=^int:sql{select age from paf where id=1}(111)<br>
         ^^double:sql{select age from paf where id=1}=^double:sql{select age from paf where id=1}<br>          ^^double:sql{select age from paf where id=1}=^double:sql{select age from paf where id=1}(222)<br>
   
         $paf[^hash:sql{select id,age from paf}]          $paf[^hash:sql{select id,age from paf}]
         ^$paf.2.age=$paf.2.age<br>          ^$paf.2.age=$paf.2.age<br>

Removed from v.1.223  
changed lines
  Added in v.1.232


E-mail: