SE701:Screencasts:mdjo001:Equality Predicates

From Marks Wiki
Jump to navigation Jump to search

◄ Back to SE701

◄ Back to mdjo001


<HTML> <HEAD> <TITLE> mdjo001equality1.swf </TITLE> </HEAD> <BODY> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="720" HEIGHT="467" id="fisrtex.swf" ALIGN="">

<PARAM NAME=movie VALUE="https://www.se.auckland.ac.nz/courses/SOFTENG701/resources/mdjo001equality1.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#ffffff>
<EMBED src="https://www.se.auckland.ac.nz/courses/SOFTENG701/resources/mdjo001equality1.swf" quality=high bgcolor=#5a1  WIDTH="720" HEIGHT="467" NAME="mdjo001equality1.swf" ALIGN="centre" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">

</EMBED> </OBJECT> </BODY> </HTML>


  • EQ
    • used to find equality of two objects which are symbols. Numeric and character values could also be evaluated for equality, but depending on the implementation they might not work as expected.
  • EQL
    • similar to EQ but it doesn't suffer from the limitation of EQ.
  • EQUAL
    • used to find equality of two objects by looking at their structural similarities. It distinguishes between two different type values
  • EQUALP
    • similar to EQUAL, but it doesn't distinguish between types. eq (equalp 1 1.0) would be true..