Re: [ns] tcl: read parameters form file

2011-05-17 Thread мαłłi
} $lineInfo match one >>>>> set tcpFallowUDP [lappend tcpFallowUDP $one] >>>>> } >>>>> puts $tcpFallowUDP >>>>> >>>>> >>>>> On 8 May 2011 14:32, Tami Nesher wrote: >>>>> >>>>>

Re: [ns] tcl: read parameters form file

2011-05-17 Thread Tami Nesher
ineInfo match one >>>> set tcpFallowUDP [lappend tcpFallowUDP $one] >>>> } >>>> puts $tcpFallowUDP >>>> >>>> >>>> On 8 May 2011 14:32, Tami Nesher wrote: >>>> >>>>> >>>>> >>>

Re: [ns] tcl: read parameters form file

2011-05-17 Thread Tami Nesher
le. I need to read the numbers in tcl. >>>> >>>> On Sun, May 8, 2011 at 1:47 AM, ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed < >>>> teto...@yahoo.com> wrote: >>>> >>>> > send the file to show and try to help you >>>> > >>>&

Re: [ns] tcl: read parameters form file

2011-05-09 Thread мαłłi
t; > > > > > From: Tami Nesher > > Subject: [ns] tcl: read parameters form file > > To: ns-users@ISI.EDU > > Date: Sunday, May 8, 2011, 4:19 AM > > > > > > > > Hi, > > I need to read two parameters from file and save them as two variables i

Re: [ns] tcl: read parameters form file

2011-05-08 Thread Tami Nesher
here I attached the file. I need to read the numbers in tcl. On Sun, May 8, 2011 at 1:47 AM, ÞÕÇÏ Úíäì Ýì ßá ãßÇä mohammed < teto...@yahoo.com> wrote: > send the file to show and try to help you > > --- On *Sun, 5/8/11, Tami Nesher * wrote: > > > From: Tami Nesher &

[ns] tcl: read parameters form file

2011-05-08 Thread Tami Nesher
Hi, I need to read two parameters from file and save them as two variables in tcl script. the file needs look like this (for example): _: 10 _: 20 each line is one word, and I need to save the numbers. How can I do this? Thanks a lot if you have an answer.