Help Contents / Data Structure Primitives / Predicates / _eq

_eq thing1 thing2

outputs TRUE if its two inputs are the same datum, so that applying a mutator to one will change the other as well. 

Outputs FALSE otherwise, even if the inputs are equal in value. 

WARNING: Primitives whose names start with a underbar are DANGEROUS. Their use by non-experts is not recommended.  The use of mutators can lead to circular data structures, infinite loops, or Logo crashes. 

Examples: 

	_eq 1 1		;false  ;-) 
	a=1 
	_eq a a		;true  ;-) 
	_eq a 1		;false  ;-) 

	_eq [a] [a]		;false  ;-) 
	a=[a] 
	_eq a [a]		;false  ;-) 
	_eq a a		;true  ;-) 


previous: beforeP	next: MemberP
