I said that too, but it works in C# (it's not java) ... still though... boolean or enum!!! come on!karsten wrote:Very nice indeed. equals() anyone?
Fred.
I said that too, but it works in C# (it's not java) ... still though... boolean or enum!!! come on!karsten wrote:Very nice indeed. equals() anyone?
Classic.Spiky wrote:> ha! mind you, on topic actually- at <company> after a YEAR, one of the two
> female developers actually asked her team leader what a boolean was!
Code: Select all
if(blnTrueOrFalse == true){
otherBooleanVariable = false;
}
if(blnTrueOrFalse == false){
otherBooleanVariable = true;
}
Hahaha I do that all the timeFred wrote:Code: Select all
if (session.getRecord().getId() == 11) { //do something }
Code: Select all
// do something here