From: Dick Davies Date: 2008-02-17T19:31:32+09:00 Subject: Re: Use of ? in variable names On Feb 16, 2008 6:04 PM, Michael Brooks wrote: > Hello everyone: > > Why can't I name boolean variables with a "?" on the end? The "?" can > be used on the end of methods but not variable. > The question mark would make the intention of the variable obvious, just > like it helps the method name. To me, the method is asking a question (everything.ok?) which gets a true/false answer. Whereas the variable assignment is a statement (ok = true) not a question, hence the lack of a question mark. -- Rasputnik :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/