#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to print the result in ns2?
  • “puts” command is used to print the result in tcl script
  • To Display the result in command prompt following command is used

    puts “result”

  • The “result” will be displayed in command prompt.
  • To display the result in file following command is used

    set r [open result.tr]puts $r “result”

  • The “result” will be displayed in result.tr file.