The max relation is an aggregation operator that finds the largest of a set of numbers.
max setOfNumbers number
The setOfNumbers argument is a list of integer and/or real numbers.
The number argument is the largest member of setOfNumbers.
(ask (max '(3 5 4) 5)) ==> T
(tellm (:about Joe (:filled-by friend Fred Sue))
(age Fred 30) (age Sue 40))
(retrieve ?x (max (age (friend Joe)) ?x)) ==> (40)
Last modified: Jun 1 1995