Friday, September 19, 2014

How to print a variable in JavaScript

var i = "Hello"

console.log (i)

How to print a string in JavaScript


console.log("Hello")

Saturday, September 6, 2014

How to print a variable value in TCL

Just be sure about the existence of the variable simply "a" and write:

puts $a


For beginners: If you are learning and wanting to run a Tcl program for the very first time, try to write the world's most famous program like this:

set a "Hello World!"
puts $a

Now, guess want you are expected to get. ;)

New language on this blog TCL-TK

Lately, I have been using TCL-TK a lot on some small projects that I am doing, that is mainly why I haven't been writing a lot during the last weeks. So, I thought it would be a good idea to talk a bit about it.

First of all, do you know what is TCL-TK about? If not, just check it here and here.

On the next posts I will teach you some basic TCL commands.