f::enum_from_to (public)

 f::enum_from_to lo hi

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

Generates {lo lo+1 ... hi-1 hi}

Parameters:
lo (required)
hi (required)
Returns:
list

Partial Call Graph (max 5 caller/called nodes):
%3 test_functional_api functional_api (test acs-tcl) f::enum_from_to f::enum_from_to test_functional_api->f::enum_from_to f::choose f::choose (public) f::choose->f::enum_from_to f::factorial f::factorial (public) f::factorial->f::enum_from_to f::pascal f::pascal (public) f::pascal->f::enum_from_to

Testcases:
functional_api
Source code:
    set result {}
    for {set i $lo} {$i<=$hi} {incr i} {
        lappend result $i
    }
    return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: