roxen.lists.pike.general

Subject Author Date
Re: Is there anyway to have a class always be inherited from other objects? Dino M. Gambone <dmgambone[at]yahoo[dot]com> 09-09-2009
I found this little thread from 2004: 
http://thread.gmane.org/gmane.comp.lang.pike.user/1686
Re: custom master, compile() and compile_string() arguments (mentioned but not
explained in docs)

What is interesting is what would happen if I overrode __empty_program() and
returned a custom program that had some pre-defined methods on it.  Maybe Henrik
can shed some light on this.  Is it possible to return my own custom program
from __empty_program()?




________________________________
From: Dino M. Gambone <<dmgambone[at]yahoo.com>>
To: "Mirar @ Pike  importmöte för mailinglistan" <<6341[at]lyskom.lysator.liu.se>>;
<pike[at]roxen.com>
Sent: Tuesday, September 8, 2009 4:01:17 PM
Subject: Re: Is there anyway to have a class always be inherited from other
objects?


I thought about that, but what about files that have individual class
definitions in them?  How would that get handled?




________________________________
From: "Mirar @ Pike importmöte för mailinglistan" <<6341[at]lyskom.lysator.liu.se>>
To: <pike[at]roxen.com>
Sent: Tuesday, September 8, 2009 2:50:04 PM
Subject: Is there anyway to have a class always be inherited from other objects?

I don't know, but since you can control how things are compiled, it
should be possible to add an "inherit" line at the top of every
program?