A question

View: New views
1 Messages — Rating Filter:   Alert me  

A question

by sola :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Dear I have this program can I first paste it in UltraEdit program
them save it as tcl file
then run it shell command of ns2 or how can  I excute it ,I installed
ns 2 under windows? or where can
I excute tcl program?




*puts "Hello, World - In quotes"    ;# This is a comment after the command.
# This is a comment at beginning of a line
puts {Hello, World - In Braces}
puts {Bad comment syntax example}   # *Error* - there is no semicolon!

puts "This is line 1"; puts "this is line 2"

puts "Hello, World; - With  a semicolon inside the quotes"

# Words don't need to be quoted unless they contain white space:
puts HelloWorld*



--
Regards,

Kayhan Zrar Ghafoor  (PhD Candidate)
Department of Computer System and Communication
Faculty of Computer Science & Information Engineering,
Universiti Teknologi Malaysia,
81310 UTM Skudai, Johor, MALAYSIA
Mob: +60(0) 01212 4646
Off: +60(0) 755 32691