[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] new to sc, and a question
On 1/4/06, Josh <huber@xxxxxxxxxxxxxxx> wrote:
> Since I'm not sitting in front of sc right now, perhaps you could
> explain the trailing '_' you've placed on the above method calls?
> Typo, or does it have special meaning in sclang?
Read the language helpfiles:
someObject.someClassOrInstanceVariableName_ is a setter method.
Without the _, it's a getter.
hjh
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman