Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-10-2014, 12:26 AM   #1
Registered: Aug 2014
Posts: 77

Rep: Reputation: Disabled
Smile how to pass an argument from .cc file to tcl file in ns2

Hi all,

in ns2 coding i have doubt.
I need to pass variables as an argument from .cc file to .tcl file. i know the reverse one. but not getting how to get the variables returning from a function in .cc file ??

initialy, from tcl file i sent variabes to functions in .cc file and performed some operations. now i need to return those results as an argument to tcl file.

Thanks in Advance,


ns2, tcl-ns2

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
aomdv.tcl file 4 ns2.34 puru45 Linux - Newbie 2 11-20-2014 08:06 PM
error in running tcl file in NS2 mary1001 Linux - Newbie 4 11-09-2014 08:32 PM
[SOLVED] pass a file name with space as single argument to script sumeet inani Linux - Newbie 5 08-26-2012 04:45 AM
[SOLVED] pass file-name as command line argument vikas027 Programming 2 10-14-2008 11:52 PM
Imp for me: How to pass a variable from .tcl file to Makefile sun_sun Programming 6 11-27-2007 05:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration