--- parser3/src/www/htdocs/Attic/index.html 2001/07/07 16:38:02 1.220
+++ parser3/src/www/htdocs/Attic/index.html 2001/11/01 15:45:28 1.460
@@ -1,322 +1,536 @@
@main[]
-before $время[^date:now[]]^время.string[]
-year+^время.roll[year](1)^время.string[]
-month+^время.roll[month](1)^время.string[]
-year-^время.roll[year](-1)^время.string[]
-month-^время.roll[month](-1)^время.string[]
-day+^время.roll[day](1)^время.string[]
-day-^время.roll[day](-1)^время.string[]
-
-$русский_день_недели[
- $0[Воскресенье]
- $1[Понедельник]
- $2[Вторник]
- $3[Среда]
- $4[Четверг]
- $5[Пятница]
- $6[Суббота]
+^thashforeach[]
+#^thashdelete[]
+#^connect[mysql://user:pass@cd.rinet.ru/db]{^void:sql{z} }
+#^tappend[]
+#^sappend[]
+#^eval(10\3)
+#^tform[]
+#^formattest[]
+#^filelist[]
+#^connect[mysql://user:pass@host]{ }
+#^безнадёжна_попытка_поправить_непоправимое[]
+#^tcache[]
+#^thashfileexp[]
+#^tcounter[]
+#^tablehash[]
+#j^hashfile[]
+#^formclass[]
+#^hren[]
+#^domedit[]
+#^domxslt[]
+#^lsplit2[]
+#^faceesize[]
+#^imageresize[]
+#^ifassignhash[]
+#^tintdefault[]
+#$response:status[404]
+#^ifpasshash[]
+#^movedir[]
+#^replace[]
+#^set[]
+#^hash[]
+#$t[^methresult[]] ->$t
+#^terror[]
+#^ssave[]
+#^calendar[]
+#^thash[]
+#^tdef[]
+#^ford[]
+#^tif[]
+#^image[]
+#^mail2[]
+#^cookie[]
+#^response[]
+#^regexp2[]
+#^ttablerem[]
+#^pcre[]
+#^regexp[]
+#^mail[]
+#^exec[]
+#^fori[]
+#^tconnect[]
+#^xslt[]
+#^xml[]
+#^header[]
+OK
+
+@thashforeach[]
+$h[
+ $.a[1]
+ $.b[2]
]
-
-$время[^date:set(0;1;1;3;30;4)]
-$время{
- ^string[]
- ${year}.${month}.${day} ${hour}:${minute}:${second}
+^h.foreach[key;value]{
+ $key=$value
}
-
-$время[^date:set(1.5)]
-^время.string[]
-
-$сейчас[^date:now[]]
-^^сейчас.string[]=^сейчас.string[] $день_недели($сейчас.weekday) $русский_день_недели.$день_недели
-$floatdays($сейчас) ^floatdays.format{%.20f}
-^eval(^math:frac($floatdays)*24)
-^eval(^math:frac($floatdays*24)*60)
-^eval(^math:frac($floatdays*24*60)*60)
-
-PI=^math:PI.format{%.40f}
-
-^math:random(10)
-
-^math:sqrt(16)
-
-$люди[
- $2федя[
- $рост[176]
- ]
- $1василий[
- $возраст[5]
- ]
-]
+@thashdelete[]
+$h[$.a[1] $.b[2]]
+was:
+count=^h._count[]
+b='$h.b'
+
+^h.delete[b]
+
+now:
+count=^h._count[]
+b='$h.b'
+
+@sappend[]
+$test[123]
+^test.save[test]
+^test.save[append;test]
+
+@tappend[]
+$test[^table::set{a b
+a1 b1}]
+^test.save[test]
+$test[^table::set{a b
+a2 b2}]
+^test.save[append;test]
+
+
+@tform[]
+^if(def $form:new_file){y}{n}
+