Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    An empty String is still a String. I'd think that null could be closer to nothing.
    So the method is returning an empty String or null.
    You've posted a lot of code.

    Let me restate the problem:...
  2. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    Its hard to imagine what you are doing without seeing the code.

    Can you show the code for the "it" that either returns nothing or a null value

    What is a "nothing"?
  3. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    What is the "it"? The method you posted is void.
  4. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    1) define a variable to save the value in the class object
    2) in set() save the value
    3) in get() return the value
  5. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    Are you a programmer? Funny question. I assume that the variables are program variables and not the contents of a file or DB.
    Writing into a file does not change any of a class's variables.
    The...
  6. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    Yes. In the object that has the set and get methods, the set method saves the value in a variable.
    The get method returns what's in that variable.
    Change your class to have variables for all the...
  7. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    Where is the code for this?
    His is related to: getUIntElement(
  8. Replies
    18
    Views
    2,281

    Re: Able to set, but not get values

    Where is the code for the class that nodeQueryMsg refers to?
    How does it save the values that are set?
    What is the life span of that object? Is a new one created before the calls to the get...
Results 1 to 8 of 8