Patches item #530808, was opened at 2002-03-16 22:47 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=303152&aid=530808&group_id=3152
Category: other Group: None Status: Open Resolution: Accepted Priority: 5 Submitted By: David Walker (vt_dwalker) Assigned to: Nobody/Anonymous (nobody) Summary: adds ns_set findall/ifindall Initial Comment: adds ns_set findall/ifindall to aolserver 3.4 ---------------------------------------------------------------------- >Comment By: David Walker (vt_dwalker) Date: 2002-03-20 16:52 Message: Logged In: YES user_id=481247 I also just finished an findmatch command. Should I submit that as a cumulative patch containing both? I'm not sure how else to do it. ---------------------------------------------------------------------- Comment By: David Walker (vt_dwalker) Date: 2002-03-20 16:48 Message: Logged In: YES user_id=481247 set myset [ns_set create] ns_set put $myset "my name is" "bob" ns_set put $myset "My Name is" "joe" ns_set put $myset "my name is" "sam" ns_set put $myset "My Name is" "bill" foreach id [ns_set findall $myset "my name is"] { ns_write "[ns_set key $myset $id]=[ns_set value $myset $id]<br>" } ns_write <hr> foreach id [ns_set ifindall $myset "my name is"] { ns_write "[ns_set key $myset $id]=[ns_set value $myset $id]<br>" } ---------------------------------------------------------------------- Comment By: Kriston Rehberg (kriston) Date: 2002-03-20 16:22 Message: Logged In: YES user_id=16427 This is most cool. Would it be possible that you provide a small test case that shows how this work so I can also write some documentation on it? Thanks! ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=303152&aid=530808&group_id=3152