The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: perl.perl6.internals
From: mic...@sabren.com (Michal Wallace)
Date: Wed, 7 Jan 2004 19:07:48 -0500 (EST)
Local: Wed, Jan 7 2004 7:07 pm
Subject: how do I instantiate? -- was: Objects!
On Tue, 2 Dec 2003, Dan Sugalski wrote: Well, cool! How do I this from parrot? > *) Creating new objects involves calling the ->init vtable entry *on > the class*. Because of this each class gets a custom vtable where the > init method has been swapped out for one (from objects.c) that > creates a new object instead. I've been trying things along the lines of: .sub _main ... But haven't figured out the magic formula yet Method 'init' not found (If anyone can post a working example of the code Sincerely, Michal J Wallace You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||