system.add (public)

 system.add [ args... ]

Defined in packages/xml-rpc/tcl/system-procs.tcl

Simple test function. Add a variable number of integers.

Returns:
integer sum

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
    set sum 0
    foreach value $args {
        incr sum $value
    }
    return [list -int $sum]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: