An example for procedure with multiple arguments is
proc add {a b} {
return [expr $a+$b]
}
puts [add 2000 22]
Result:
2022
Last Updated on 2022-01-04 by gantovnik
Jan 4, 2022 | tcl | 0 comments
An example for procedure with multiple arguments is
proc add {a b} {
return [expr $a+$b]
}
puts [add 2000 22]
Result:
2022
Last Updated on 2022-01-04 by gantovnik
Subscribe now to keep reading and get access to the full archive.
Recent Comments