/doc/lfun/CompareSize


LFUN

int CompareSize (int size)
int CompareSize (object ob)

DESCRIPTION

Compare this objects P_SIZE with an other size.

Argument
size: the integer P_SIZE to compare with.
ob : the objects with which P_SIZE to compare with.

Result
< 0: this object is smaller.
= 0: this object is of same size.
> 1: this object is larger.

EXAMPLE

  if (CompareSize(obj))
    write("You can't handle that.\n");

IMPLEMENTED

/std/thing/description

| Home | Applied | Concepts | Efuns | Help | Intro | Lfuns | Lib | LPC | Prop | Obj | Sefuns | Std | W |

Nightfall@quest.tat.physik.uni-tuebingen.de
Automatically generated on Mon, Jul 22, 1996