« Return to Thread: getter / setter questions

Re: getter / setter questions

by Michael Wohlwend :: Rate this Message:

Reply to Author | View in Thread

Am Wednesday 08 July 2009 10:58:57 schrieb Ricky Clarkson:
> The setter doesn't have the same name as the getter.  "v_" != "v"

yes, it's only that foo and foo_ works, but bar und foo_ doesn't work, so the
names have to be the same, expect for the underline. But this isn't obvious.

 Michael

 « Return to Thread: getter / setter questions