QueryProp

lfun
LFUN
  #include <properties.h>

  mixed QueryProp (string name [, int sc])

DESCRIPTION
  Query the value of a property.

  Arguments:
    name: the name of the property queried.
    sc  : if non-zero, the 'soft property' is queried.

  Result:
    The value of the property, or 0 if it doesn't exist.

  Using this function automatically takes care if the requested
  property is implemented 'hard' (by a function Query<name>()) or
  'soft' (as a value in a mapping).

EXAMPLE
  #include <properties.h>

  obj->QueryProp(P_VALUE)  queries the <obj>'s value/

IMPLEMENTED
  /std/base

SEE ALSO
  properties(C)