Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    You are having a load of paragraphs there... do not constantly hit the enter key ;) it hurts reading the actual question. Commented Jun 20, 2010 at 12:36
  • Changes to an object's variable should always be valid within that object, no matter what type of block you're passing it through within that object. If, however, you're passing that variable to another method of another object, you'll have to pass it by reference to be accessible when that method finishes execution. You'll also need to be careful not to hide member variables by local variables of the same name. Commented Jun 20, 2010 at 13:19