On Mon, Feb 02, 2004 at 10:05:01AM +0100, Mirar @ Pike developers forum wrote:
Rename Parent.pmod to Parent.pike if you really want to inherit it. .pike files represent classes (programs).
Well... Seems that I am doing something wrong... Again, two files - Parent.pike and Child.pike, where Child.pike contains:
--snip-- inherit Parent;
//blabla --snip--
Both files in same directory, but when I do "pike -M. Child.pike" I get:
Child.pike:1:Illegal program pointer.
When I use "inherit .Parent" - everything is OK. So, what I am doing wrong here? :)
Regards, /Al