Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    1,320

    Re: Declared variables not carrying over

    Well, you just said it. Right now you're setting inputText equal to text. It sounds like you might want to go the other way around?
  2. Replies
    6
    Views
    1,320

    Re: Declared variables not carrying over

    That part is fine.


    That's because you're setting it equal to text, which hasn't been set yet, so it's null. It's like if you do this:
    int x = 0;
    int y = 7;
    y = x;
    ...and then ask why y isn't...
  3. Replies
    6
    Views
    1,320

    Re: Declared variables not carrying over

    First off, I'd recommend using the standard naming conventions- classes start with an upper-case letter, methods and variables start with a lower-case letter. Seems trivial but it makes code a lot...
Results 1 to 3 of 3