template::util::lpop (public)

 template::util::lpop ref

Defined in packages/acs-templating/tcl/util-procs.tcl

Removes the last item from a list. The operation is performed in-place, rather than returning the new list.

Parameters:
ref (required)
The name of a list in the calling frame on which to operate.

Testcases:
xowiki_test_cases, create_form_with_form_instance
Source code:
    upvar $ref the_list
    set the_list [lrange $the_list 0 end-1]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: