| Did you know ... | Search Documentation: |
| number->maximum |
|number<-value
to the {number->maximum, number->minimum}
of the current number<-value
and the argument. Useful in may computations. Suppose Chain is a
chain holding string and we which to know the widest string given the
font
Font:
width_of_strings(Chain, Font, Width) :-
new(W, number(0)),
send(Chain, for_all,
message(W, maximum, ?(Font, width, @arg1))),
get(W, value, Width),
send(W, done).