Thanks William, you are right, I moved the code down to the methods and ti works
fine.

Thanks,

Tim.

P.S.
You said that in IRC you put the code in a "paste bin and then send a link", how
do I do this or where can I find out more about this.

"William H. Mitchell" wrote:

> I count Tom as a good friend and valued colleague but I've got to respectfully
> disagree with him on this point.  I don't see a charter on the JUG website but
> for History, I see this:
>
>      The Tucson Java Users Group was established to provide information about
>      Java and Java related technologies to its members, to facilitate contacts
>      between its members and to promote the use of Java technology in Tucson,
>      Arizona.
>
> That seems to allow questions from students, whether on homework assignments
> or not, or very basic questions from anybody.  Perhaps Tim's instructor and TA
> (if any) are off-line for this holiday weekend, and Tim wants to keep moving.
>
> When I teach at UA I always encourage students to participate in the JUG
> mailing list, come to meetings, etc.  Few do.  I'm happy to see that Tim sees
> some value in the knowledge of the JUG members.
>
> I don't think some number of simple questions are going to ruin the group, and
> besides it's been pretty slow of late.  If a flood of simple questions
> develops, great -- let's add a jug-newbies list and grow our community.
>
> There are a number of *newbie IRC channels, but I don't know of one for Java.
> There is ##java on Freenode is but it's pretty snobby.
>
> But Tim, Tom's right -- you haven't provided enough context to accurately
> diagnose the problem.  If I had to guess, I might guess you've got code
> directly inside a class definition, instead of inside a method definition.
>
> If that's not it, let's see the whole file.  Feel free to send it off-list to
> me, or post to the list, and risk another blast. :)
>
> You may know that a common practice on IRC is to put (all) the code in a paste
> bin and then send a link.  That's pretty unobtrusive for e-mail, too.  If
> somebody wants to look, they can.  If not, there's no bloat.
>
>     -----------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Thanks,

Tim Worden
(520) 548-4805

Do you not know that those who run in a race all run, but one receives the
prize?  Run in such a way that you obtain it.  1 Cor. 9:24

Reply via email to