Call:

int object("create", string objclass, int descr);


Creates an object of type objclass and returns its descriptor in the descriptor variable.

Returns 0 if the object was successfully created.