|
|
1.1 paf 1: $now[^date::now[]]
2: ^now.unix-timestamp[]
3: <hr>
4: $date[^date::unix-timestamp(1067857323)]
5: $date.hour $date.minute $date.second
6: #^date.unix-timestamp(1067857323)
7:
8: ---------
9:
10: $image[^image::create(10;10)]
11: $response:download[^image.gif[a.gif]]
1.2 paf 12:
13:
14: ----------
15:
16: #xxx
17:
18: "a -""
19: #xx
20: *b" c
21: #c
22: a"b c!
23:
24: $t[^table::load[excel.txt;$.column-encloser["]]]
25: $c[^t.columns[]]
26: ^c.menu{=$c.column=|}<br>
27: ^t.menu{
28: ^c.menu{
29: =$t.[$c.column]=|
30: }
31: <br>
32:
33: }
1.3 paf 34:
35:
36: ---------------
37:
38: $t[^table::create{a b
39: ^taint[av av] ^taint[b
40: v]}]
41:
42: ^t.save[t.cfg;
43: $.encloser["]
44: ]
1.4 paf 45:
46: ----------------
47:
1.5 ! paf 48: @main[]
! 49: ^test[]
! 50: #^memory:compact[]
! 51:
! 52: @test[]
1.4 paf 53: $hf[^hashfile::open[hf]]
1.5 ! paf 54: $hf.bomb[$.value[alive]$.expires(1/24/60/60*3)]
! 55: =$hf.bomb=
! 56:
! 57: @other[]
1.4 paf 58: $hf.paf[works]
1.5 ! paf 59: #clear!^hf.clear[]<br>
! 60: =$hf.paf=
! 61:
! 62: $hf.pif[pworks]
! 63: <hr>
! 64: #^hf.delete[paf]
! 65: =$hf.paf=
! 66: <hr>
! 67: hash:<br>
! 68: $h[^hf.hash[]]
! 69: ^h.foreach[k;v]{
! 70: $k=$v<br>
! 71: }
! 72: <hr>
! 73: hashfile:<br>
! 74:
! 75: ^hf.foreach[k;v]{
! 76: $k=$v<br>
! 77: }
! 78: