Search:

Type: Posts; User: jps

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    1,340

    Re: Very basic help needed

    You have to make sure that every possible path through the code will initialize the variables before you use them.
    When and where you initialize them depends on what you need. The value you give...
  2. Replies
    10
    Views
    1,340

    Re: Very basic help needed

    You declared the variables.
    The complaint is that they were not initialized. (A fancy way to say "given a value")

    Every possible path through your code that leads up to the use of any variable...
  3. Replies
    10
    Views
    1,340

    Re: Very basic help needed

    If you look at every possible path through the code, when you get to that point there is a chance a variable was not initialized.

    A scenario the compiler is complaining about.
    What happens if the...
  4. Replies
    10
    Views
    1,340

    Re: Very basic help needed

    If I understand your text, all you have to do is pass that value to a method. This link may help.

    If not post the code where you are trying to use the variable and getting the error message.
  5. Replies
    10
    Views
    1,340

    Re: Very basic help needed

    Reading it now, as a side note, see this link as I read your "big wad of text".
  6. Replies
    10
    Views
    1,340

    Re: Very basic help needed

    Can you show where you are trying to use the variable that is not working?
    Also please use
    so the code gets a colorful highlight for my old eyes.
Results 1 to 6 of 6