gagent/examples/add-two.tcl

13 lines
181 B
Tcl
Raw Normal View History

#####################
### Add 2 numbers ###
#####################
# HINT START
# - math
# - addition
# HINT END
set val1 1
set val2 2
set result [expr {val1 + val2}]
puts result