Low Caliber Forum
Comparison Operators

This topic can be found at:
http://lowcaliber.com/eve/forums/a/tpc/f/8986090972/m/2116034234

Sat September 20 2003, 06:00 PM
Unter den Uebrigen
Comparison Operators
To answer your question, Dant': != and == are so-called "operators of comparison" (see Built-in operators).  != and == are useful in the comparison of x to y (negative and affirmative respectively); and are to be distinguished from so-called "operators of assignment", i.e. =, where the value of y is assigned to x.

Operators of comparison are a prompt for conditional action, whereas operators of assignment are a positive declaration.  Therefore:
if (bShepherdOfWives == true) {		// Condition
	iAnnuaryHaremBudget = 40000;	// Declaration
}



Sat September 20 2003, 06:12 PM
Unter den Uebrigen
Whoops; transferring..
Sat September 20 2003, 07:00 PM
Dante
sorry to pull the rug out under you, moved it to 'works' for more relevance.

actually i should look into my posting-editing habit.