#!/usr/bin/tclsh puts [expr 3 + 2] ;# print sum of the 3 and 2
#!/usr/bin/tclsh puts "Hello World!" ;# my first print in Tcl program
#!/usr/bin/tclsh if 0 { my first program in Tcl program Its very simple } puts "Hello World!"
#!/usr/bin/tclsh # my first program in Tcl puts "Hello World!"
#!/usr/bin/tclsh puts "Hello, World!"
#!/usr/bin/tclsh puts $tcl_patchLevel
#!/usr/bin/tclsh puts $tcl_precision
#!/usr/bin/tclsh puts $tcl_rcFileName
#!/usr/bin/tclsh puts $tcl_library
#!/usr/bin/tclsh puts $tcl_pkgPath
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more