language: Tcl (tclsh 8.5.7)
date: 130 days 5 hours ago
link:
visibility: public
1
2
3
4
set x 6
set y 8
 
puts stdout $x + $y {expr $x+$y}
  • upload with new input
  • result: Runtime error     time: 0.03s    memory: 5272 kB     signal: -1

    set x 6
    set y 8
     
    puts stdout "$x + $y= [ expr $x + $y ]"
    wrong # args: should be "puts ?-nonewline? ?channelId? string"
        while executing
    "puts stdout $x + $y {expr $x+$y}"
        (file "prog.tcl" line 4)