Annotation of parser3/src/www/htdocs/index.html, revision 1.249
1.212 parser 1: @main[]
1.249 ! parser 2: ^connect[pgsql://paf:paf123@six/paf]{
! 3: # ^void::sql{insert into хрен (a) values (1)}
! 4: $id(^int:sql{select 2*2})
! 5: $id<br>
! 6:
! 7: $пресса[^table::sql{select * from aaa}]
! 8: # $a[^пресса.columns[]]^a.menu{$a.column}
! 9: ^пресса.menu{
! 10: $пресса.val
! 11: }[<br>]
! 12: }
! 13: <hr>
1.248 parser 14: #$cookie:reg0[8reg0]
15: #$cookie:reg1[8reg1]
16: $cookie:reg0
17: $cookie:reg1
18:
19: <hr>
1.243 parser 20: ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
1.245 parser 21: # ^void::sql{insert into хрен (a) values (1)}
1.246 parser 22: $id(^int:sql{select 5})
23: $id
24:
1.245 parser 25: $пресса[^table::sql{select * from press where header='$form:h'}]
1.243 parser 26: ^пресса.menu{
27: $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode
28: }[<br>]
29: }
30: <hr>
1.239 parser 31: #$response:status[404]
32: #$response:location[/inh.html]
33: #<hr>
1.245 parser 34: $таблица[^table::set{a b
1.238 parser 35: 1 2
36: 11 22
37: }]
38: ^$таблица.fields.a=$таблица.fields.a<br>
39: ^$таблица.a=$таблица.a<br>
40: <hr>
1.247 parser 41: $n[z]
1.237 parser 42: =^n.match[sdf][]{123}=
43: <hr>
44:
45: =$3=
46: <hr>
47:
1.240 parser 48: $строка[123]
49: ^строка.match[(.);g]{($match.1)}
1.212 parser 50: <hr>
1.236 parser 51: $a{
52: $b[1]
1.212 parser 53: }
1.236 parser 54: ^$b=$b<br>
55: ^$a!$a<br>
56: ^$b=$b<br>
1.212 parser 57: <hr>
E-mail: