Re: question on 2 sub modules on the same scope

2009-02-09 Thread itshardtogetone
Original Message - From: "David Shere" To: "itshardtogetone" Cc: Sent: Tuesday, February 10, 2009 3:29 AM Subject: Re: question on 2 sub modules on the same scope What is an a_ctr, anyway? :) Thanks everyone for the help. ctr is a short form for counter, so

Re: question on 2 sub modules on the same scope

2009-02-09 Thread David Shere
On Tue, 2009-02-10 at 02:55 +0800, itshardtogetone wrote: > Hi, > Looking at the script below, can someone explain why the final output is > "Final = 1" instead of "Final = 5". > I thought at the end of the while loop, $a_ctr is 5, this value is then read > by the sub module &data() and this valu

Re: question on 2 sub modules on the same scope

2009-02-09 Thread John W. Krahn
itshardtogetone wrote: Hi, Hello, Looking at the script below, can someone explain why the final output is "Final = 1" instead of "Final = 5". I thought at the end of the while loop, $a_ctr is 5, this value is then read by the sub module &data() and this value of 5 is then passed on to sub pu

question on 2 sub modules on the same scope

2009-02-09 Thread itshardtogetone
Hi, Looking at the script below, can someone explain why the final output is "Final = 1" instead of "Final = 5". I thought at the end of the while loop, $a_ctr is 5, this value is then read by the sub module &data() and this value of 5 is then passed on to sub publish before its being printed ou