[Prev][Next][Index][Thread]

[FD] creating classes at runtime



The DRM is a little vague on how to do this, but I'm looking to do
something like this:


// ---- code ----
define class <animal> (<object>) end; // predefined

// sometime later, the user wants to add a class
// (by, e.g., supplying characteristics thru DUIM)
define constant <mammal> = make(<class>, superclasses: <animal>);
// ---- end-code ----

The last line returns an error ... what'll get the expected results?

Sincerely,
Doug Auclair


Sent via Deja.com http://www.deja.com/
Before you buy.



Follow-Ups: