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.

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) template::util::lpop template::util::lpop test_create_form_with_form_instance->template::util::lpop test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->template::util::lpop apm::process_install_xml apm::process_install_xml (public) apm::process_install_xml->template::util::lpop photo_album::search::photo::datasource photo_album::search::photo::datasource (private) photo_album::search::photo::datasource->template::util::lpop template::adp_eval template::adp_eval (public) template::adp_eval->template::util::lpop template::adp_include template::adp_include (public) template::adp_include->template::util::lpop template::adp_parse template::adp_parse (public) template::adp_parse->template::util::lpop

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: