LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-10-2014, 01:26 AM   #1
pon
Member
 
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,
Pon
 
  


Reply

Tags
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 09:06 PM
error in running tcl file in NS2 mary1001 Linux - Newbie 4 11-09-2014 09:32 PM
[SOLVED] pass a file name with space as single argument to script sumeet inani Linux - Newbie 5 08-26-2012 05:45 AM
[SOLVED] pass file-name as command line argument vikas027 Programming 2 10-15-2008 12:52 AM
Imp for me: How to pass a variable from .tcl file to Makefile sun_sun Programming 6 11-27-2007 06:26 AM


All times are GMT -5. The time now is 02:36 AM.

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