im_memoize_one

one of the documented procedures in this installation of the ACS
Usage:
im_memoize_one   sql   { force "0" }   { also_memoize_as "" }
What it does:
wrapper for im_memoize_list that returns the first value from the sql query.
Defined in: /web/philip/tcl/intranet-defs.tcl

Source code:


    set result_list [im_memoize_list $sql $force $also_memoize_as]
    if { [llength $result_list] > 0 } {
	return [lindex $result_list 0]
    }
    return ""


philg@mit.edu