Diff for /parser3/www/htdocs/Attic/index.html between versions 1.36 and 1.59

version 1.36, 2002/04/16 09:38:51 version 1.59, 2002/05/16 16:18:20
Line 1 Line 1
 #@USE  #@USE
 #z/t.p  #t.p
   
 @autoz[]  @autoz[]
 $request:charset[windows-1251]  $request:charset[windows-1251]
 $response:charset[windows-1251]  $response:charset[windows-1251]
 $response:content-type[$.value[text/html]$.charset[$response:charset]]  $response:content-type[$.value[text/html]$.charset[$response:charset]]
   
   @postprocess[body]
   #=$env:HTTP_TEST=<br>
   #=$env:REDIRECT_HTTP_TEST=<br>
   #<hr>
   $body
   <hr>
   OK
   
 @main[]  @main[]
   #^sqldefaults[]
   #^eval(2)
   #^tcrashlocaljunctionsv2[]
   #^tcrashlocaljunctions[]
   #^tjunctions[]
   #^replacetest[]
   #^matchoptionpp[]
   #^txdocxnodechild[]
   #^tclasses[]
   #$math:PI
   #^b:method[]
   #^main[]
   #^errort[]
   #^tselectNumber[]
   #$result[hello]
 #^invaliddate2[]  #^invaliddate2[]
 #^process2[]  #^process2[]
 #^casehashtext[]  #^casehashtext[]
Line 26  $response:content-type[$.value[text/html Line 49  $response:content-type[$.value[text/html
 #^locate_by_expr[]  #^locate_by_expr[]
 #^method_junction_params{...}  #^method_junction_params{...}
 #^verifyCookie[paf]  #^verifyCookie[paf]
 ^execlangs[]  #^execlangs[]
 #$t[^tobjeresult[]]$t.a  #$t[^tobjeresult[]]$t.a
 #^xmlprobs[]  #^xmlprobs[]
 #^doubleprobs[]  #^doubleprobs[]
Line 121  $response:content-type[$.value[text/html Line 144  $response:content-type[$.value[text/html
 #^xslt[]  #^xslt[]
 #^xml[]  #^xml[]
 #^header[]  #^header[]
   #^tablehasht[]
   #^datecreatestring[]
   #^mssqltypes1[]
   #^badthrows[]
   #^xmlspace[]
   #^counter[main.counter]
   #^xpath2[]
   #^callindirect[]
   #^junctionprob[]
   #^datecreatestring2[]
   #^tstoredproc[]
   #^tstoredproc2[]
   #^forkeys[]
   ^pngsize[]
   
   @pngsize[]
   $i[^image::measure[test.png]]
   ^i.html[]
   
   
   @forkeys[]
   $text[^form:fields.foreach[key;val]{$key=$val
   }]
   ^text.save[ttt.txt]
   =$text=
   
   
   @tstoredproc2[]
   ^connect[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32]{
           ^void:sql{exec pafvoid}
   }
   
   @tstoredproc[]
   ^connect[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32]{
           $t[^table::sql{exec pafproc}]
   #       $t[^table::sql{{call pafproc}}]
           $c[^t.columns[]]
           ^c.menu{$c.column}[<br>]
   }
   
   @datecreatestring2[]
   <table border=1>
   ^datecreatestring2show[2000]
   ^datecreatestring2show[2000-02]
   ^datecreatestring2show[2000-2-03]
   ^datecreatestring2show[2000-02-03 15]
   ^datecreatestring2show[2000-02-03 15:30] 
   ^datecreatestring2show[2000-02-03 15:30:04] 
   ^datecreatestring2show[2000-02-03 15:30:04 hren] 
   ^datecreatestring2show[15:30] 
   ^datecreatestring2show[15:30:05] 
   ^datecreatestring2show[15:30:05 hren] 
   </table>
   
   @datecreatestring2show[s]
   $date[^date::create[$s]]
   <tr>
   <td>$s</td><td align=right>^date.sql-string[]</td>
   </tr>
   
   
   @junctionprob[][l]
   $l[123]
   $a{$l}
   ^junctionprobnested[$a]
   @junctionprobnested[p]
   $p
   
   
   @callindirecttarget[]
   callindirecttarget called
   @callindirect[]
   $f[$callindirecttarget]
   ^f[]
   
   @xpath2[]
   $xdoc[^xdoc::create{<?xml version="1.0" encoding="windows-1251"?>
   <doc>
   <field-list>
   <field name="aa"/>
   <field name="bb"/>
   </field-list>
   </doc>
   }]
   
   #^xdoc.string[]
   
   $fieldList[^xdoc.selectSingle[/doc/field-list]]
   #^fieldList.childNodes._count[]
   $fields[^fieldList.select[field]]
   #^fields._count[]
   ^fields.foreach[k;node]{
           $node.nodeName<br>
   }
   @counter[filespec][f;s]
   ^file:lock[$filespec]{
           $f[^file::load[text;$filespec]]
           $s[^eval($f.text+1)]
           ^s.save[$filespec]      
   }
   $s
   
   @xmlspace[]
   $xdoc[^xdoc::set{^process{<?xml version="1.0" encoding="windows-1251"?>
   <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"-->
   <people>
           <man id="1" имя="word слово">
                   <name>1  2</name>
           </man>
   </people>
   }}]
   $xdoc[^xdoc.transform[global.xsl]]
   $string[^xdoc.string[$.method[html]]]
   ^string.save[a]
   ^untaint[html]{$string}
   
   @badthrows[]
   #^throw[a;b;]
   ^throw[a;]
   
   @mssqltypes1[]
   ^connect[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32]{
   #    ^string:sql{select { ts '1998-05-02 01:23:56.123' }}
   #    ^string:sql{select CAST({ ts '1998-05-02 01:23:56.123' }AS smalldatetime)}
   #       ^string:sql{select CAST({ts '2002-04-28 00:00:00.000'} AS smalldatetime)}
           $t[^table::sql{select a from paf}]
           ^t.count[]
   }
   
   @datecreatestring[]
   $d[^date::create[2002-04-33 01:03:04]]
   ^d.sql-string[]
   
   @method[hash]
   $hash.key
   @mainZ[]
   ^method[
       $.key{code}
   ]
   
   @tablehasht[]
   $t[^table::create{p
   1
   3
   2
   4}]
   
   $h[^t.hash[p]]
   
   =^h._count[]=
   
   
   @sqldefaults[]
   ^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{
           ^int:sql{select news_id from news where news_id=-1}[$.default{2}]<br>
       ^string:sql{select news_id from news where news_id=-1}[$.default{2}]
   }
   
   @tcrashlocaljunctionsv2[]
   $a[
           $b{  $c[1] }
   ]
   $b
   $c
   
   @tcrashlocaljunctions[]
   $var[aaa]
   ^if(1){
   ^tcrashlocaljunctions1[]
   }
   
   $j
   
   @tcrashlocaljunctions1[][var]
   $var[varvalue]
           $j{
                   $var
           }
   $j
   
   @tjunctions[][tl]
   $t[^t::create[]]
   ^tjunctionsi[]
   
   @tjunctionsi[][tl]
   $tl[12345]
   ^t.tjunctionsm[
           $.key{
                   $tl
           }
   ]
   
   @replacetest[]
   $b[b]
   $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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
   aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
   ]
   ^s.match[b;g']{($match.prematch|$match.match|$match.postmatch)}
   
   
   @txdocxnodechild[]
   $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?><d/>}]
   $xdoc.nodeName
   ^xdoc.selectNumber[2*2]
   $xdoc:ELEMENT_NODE
   
   
   @tclasses[]
   $t[^t::create[]]
   ^t.method[]
 <hr>  <hr>
 OK  ^t.base_method[]
   
   
   @errort[]
   ^xdoc::create[a]
   #^throw[user;here;this]
   
   @tselectNumber[]
   $d[^xdoc::set{<?xml version="1.0" encoding="windows-1251"?><d attr="привет" n="123"/>}]
   ^d.selectString[string(d/@attr)]<br>
   ^d.selectNumber[2*2]<br>
   ^d.selectNumber[number(/d/@n)+1]<br>
   
   
 @invaliddate2[]  @invaliddate2[]
 $d[^date::create(1018946575/60/60)] ^d.sql-string[]  $d[^date::create(1018946575/60/60)] ^d.sql-string[]

Removed from v.1.36  
changed lines
  Added in v.1.59


E-mail: