Example Brick compareEQ 019




These examples use the compareEQ functions to do a case-sensitive comparison of two objects of the same type. A Boolean value is returned.



(define nameList (new Brick: 2 Name:Object:3)) Returns: #<Brick 123456>
(define customerList (new Brick: 2 Name:Object:1)) Returns: #<Brick 234567>

The first Brick has greater value than the second Brick.

(compareEQ nameList customerList) Returns: false


Related Examples

Here are examples of the compareEQ function at work.

BitVector compareEQ 014 Boolean compareEQ 009 Brick compareEQ 019 Character compareEQ 010
CpxVector compareEQ 020 Date compareEQ 012 Dictionary compareEQ 004 Directory compareEQ 005
FltVector compareEQ 014 Function compareEQ 013 IntVector compareEQ 014 List compareEQ 020
Matrix compareEQ 007 NumMatrix compareEQ 023 NumVector compareEQ 014 Number compareEQ 011
ObjVector compareEQ 014 ObjectRepository compareEQ 021 ObjectRepository compareEQ 022 Pair compareEQ 019
ShortVector compareEQ 015 String compareEQ 001 Structure compareEQ 003 Symbol compareEQ 002
Vector compareEQ 006 Void compareEQ 008


Function Links

Here is the link to the current function used in this example.


Here are a number of links to other related functions.

compare(Brick) compareNE(Brick) compareGT(Brick) compareGE(Brick)
compareLT(Brick) compareLE(Brick)


Argument Types

Here are the links to the data types of the arguments used in this example.


Here are a number of links to examples having similar argument types.

Brick addMethod 008 Brick cdr 010 Brick compare 019 Brick compareEQ 019
Brick compareGT 019 Brick compareLE 019 Brick compareLT 019 Brick compareNE 019
Brick comparison 019 Brick copy 012 Brick defmethod 025 Brick isAtom 011
Brick isEqual 018 Brick isIdentical 020 Brick isObject 014 Brick isType 022
Brick length 017 Brick methodsOf 024 Brick new 015 Brick ref 036
Brick send 027 Brick setCdr 014 Brick setq 029 Brick setq 28
Brick sizeof 029 Brick type 026

How do I contact the AIS Server team?

You can always talk with the AIS at aiserver.sourceforge.net.