|
|
| version 1.261, 2001/08/09 08:20:32 | version 1.279, 2001/08/27 12:07:29 |
|---|---|
| Line 1 | Line 1 |
| @USE | @USE |
| t.p | t.p |
| dtf.p | |
| @main[] | |
| #^savetest[] | |
| ^oratestinsert[] | |
| #^oratestread[] | |
| #^process_check[] | |
| #^ffcheck[]^[xxx] | |
| #$ORIGINS(1) | |
| #^list[] | |
| #^tests[] | |
| #^func(0)<hr> | |
| @savetest[] | |
| $file[^file::load[text;index.html]] | |
| ^file.save[binary;/some/dir/here.dat] | |
| OK | |
| @oratestinsert[] | |
| ^connect[oracle://mts_admin:admin_pwd@ORACLE.PAF.OFFICE.DESIGN.RU]{ | |
| #^void:sql{create table lobtest(test clob)} | |
| ^void:sql{insert into lobtest values (/**test**/'бу''квы')} | |
| $table[^table::sql{select * from lobtest}] | |
| ^table.menu{^table.line[] <!--. $table.test -->} | |
| } | |
| @oratestread[] | |
| ^connect[oracle://mts_admin:admin_pwd@ORACLE.PAF.OFFICE.DESIGN.RU]{ | |
| ^rem{ | |
| $tables[^table::sql{select table_name from user_tables}] | |
| ^tables.menu{ | |
| $tables.table_name<br> | |
| } | |
| <hr> | |
| } | |
| $news[^table::sql{select * from news}[$.limit(2)]] | |
| ^rem{ | |
| news columns:<br> | |
| $news_columns[^news.columns[]] | |
| ^news_columns.menu{ | |
| $news_columns.column<br> | |
| } | |
| <hr> | |
| } | |
| news description:<br> | |
| ^news.menu{ | |
| <hr> | |
| $news.description | |
| } | |
| } | |
| @process_check[] | |
| $f[^file::load[text;process.tpl]] | |
| ^process[$f.text] | |
| @ffcheck[] | |
| ^file:find[bug/index.html]{not found} | |
| @list[] | |
| $list[^file:list[.;.*\.html^$]] | |
| ^list.menu{$list.name<br>} | |
| #^list.count[] | |
| @func[param] | |
| #[local] | |
| $local(0) | |
| ^local.inc(1) | |
| #$local($local+1) | |
| ^if($param<10){^func($param+1)} | |
| =$local= | |
| @bannerSSI[][code] | @bannerSSI[][code] |
| $code[^file::cgi[/../cgi-bin/bbssi.pl; | $code[^file::cgi[/../cgi-bin/bbssi.pl; |
| Line 21 document.write(''); | Line 92 document.write(''); |
| </script> | </script> |
| <!-- BannerBank advertising end: new --> | <!-- BannerBank advertising end: new --> |
| @main[] | @tests[] |
| $ab(123) | |
| ${[ab]}= | |
| <hr> | |
| $хэш[$.возраст(88)] $достать[$.поле[возраст]] ^хэш.[$достать.поле].format{%05d} | |
| <hr> | |
| $люди[ | |
| $.вася[ | |
| $.возраст(45) | |
| ] | |
| ] | |
| $человек[ | |
| $.поле[возраст] | |
| ] | |
| $люди.вася.[$человек.поле]<br> | |
| ^люди.вася.[$человек.поле].format{%010d}<br> | |
| <hr> | |
| $unsorted[^table::set{a b | |
| 1 1 | |
| 3 3 | |
| 2 2 | |
| }] | |
| $sorted[^unsorted.sort($unsorted.a)] | |
| ^sorted.menu{$sorted.a}[,] | |
| <hr> | |
| =^dtf:format[aaa-%Y-bbb-%m]= | |
| <hr> | |
| #$ORIGINS(0) | #$ORIGINS(0) |
| ^math:random(3686) | ^math:random(3686) |
| <hr> | <hr> |