--- parser3/tests/164.html 2007/04/23 14:45:35 1.1 +++ parser3/tests/164.html 2007/04/23 14:50:28 1.2 @@ -7,8 +7,9 @@ $hf[^hashfile::open[$sName]] ^checkFiles[$sName]
-Storing 3 values and show all items...
-^put[$hf;1;value 1](1) +Storing 4 values and show all items...
+^put[$hf;0;value 0](1) +^put[$hf;1;value 1;^date::now(+1/24/60/60)] ^put[$hf;2;value 2](3) ^put[$hf;3;value 3](4) ^print[$hf] @@ -54,10 +55,14 @@ Put value and check auto re-opening... -@put[hf;sKey;sValue;iTime] +@put[hf;sKey;sValue;uExpires] $hf.$sKey[ $.value[$sValue] - $.expires($iTime/24/60/60) + ^if($uExpires is "date"){ + $.expires[$uExpires] + }{ + $.expires($uExpires/24/60/60) + } ]