cvsuser     04/02/17 10:39:59

  Modified:    docs/pdds pdd15_objects.pod
  Log:
  Done. Time to savage it
  
  Revision  Changes    Path
  1.21      +16 -0     parrot/docs/pdds/pdd15_objects.pod
  
  Index: pdd15_objects.pod
  ===================================================================
  RCS file: /cvs/public/parrot/docs/pdds/pdd15_objects.pod,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -w -r1.20 -r1.21
  --- pdd15_objects.pod 17 Feb 2004 18:14:55 -0000      1.20
  +++ pdd15_objects.pod 17 Feb 2004 18:39:59 -0000      1.21
  @@ -487,7 +487,23 @@
   
   =head2 Instantiating an object
   
  +Assuming we want an object of class C<Foo>:
  +
  +  .local int FooType
  +  .local pmc MyObject
  +  findtype FooType, "Foo"
  +  new MyObject, FooType
  +
   =head2 Calling a method on an object
  +
  +Calling the method C<Xyzzy> on an object, assuming the PDD03 calling
  +conventions are respected:
  +
  +  callmeth "Xyzzy"
  +
  +Or, if a return continuation needs constructing:
  +
  +  callmethcc "Xyzzy"
   
   =head2 Accessing attributes from within a class
   
  
  
  

Reply via email to