Index: openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl 18 Jul 2001 18:19:01 -0000 1.2 +++ openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl 18 Jul 2001 23:46:14 -0000 1.3 @@ -674,7 +674,7 @@ return $userag } -proc_doc util_decode args { +ad_proc util_decode args { like decode in sql Takes the place of an if (or switch) statement -- convenient because it's compact and you don't have to break out of an ns_write if you're in one.