NAME

create - object creation method

SYNOPSIS

obj.create(args)

APPLIES TO

Newly created objects using either the new cls syntax or the static class cls syntax.

ARGUMENTS

The args to the create method are those passed in from the creation call

RETURN VALUE

None

DESCRIPTION

When an object is created statically or dynamically, a call to the create method is generated. Although it is allowable to directly call an object's create method it is not generally encouraged.

EXAMPLE

          class cls {
             public proc create() {
                 "cls.create(", oadl::argvec(), ")\n";
             }
          }
          a = new cls(3) // dynamic object creation
    cls.create(3)

          cls(1,2) obj // static object creation
    cls.create(1 2)

SEE ALSO

complete
destroy