/* get an integer from the user */ decl lhs decl rhs set lhs in("give an integer: ") set rhs in("give another: ") /* add the inputs together */ decl sum set sum + as_int(lhs) as_int(rhs) /* print the sum */ out( concat(lhs " + " rhs " = " sum) ) "done"