Dan Sugalski <[EMAIL PROTECTED]> wrote:

> Fair enough. I'd not realized we had a runtime directory.

BTW some warnocked stuff:

  Date: Sat, 23 Aug 2003 17:01:36 +0200
  From: Leopold Toetsch <[EMAIL PROTECTED]>
  Subject: some fun SubProxy

,--[ orig text ]----------------------------------------------------------
| I have put together a (currently dynamic) class SubProxy, which takes a
| filename and sublabel. On first invoke the file source gets loaded:
|
| _main:  null P1
|       load_pmc "subproxy", P1
|       new P3, .Key
|       set P3, "ext.imc"       # file
|       new P4, .Key
|       set P4, "_ext_main"     # sub label
|       push P3, P4
|       new P0, .SubProxy
|       assign P0, P3
|
|       invokecc
|       print "back\n"
|       invokecc
|       print "back\n"
|       end
|
| Works fine.
| Should I put that in dynclasses or core classes?
`-------------------------------------------------------------------------

Dynamic PMCs get loaded from runtime/parrot/dynext.
C<.include> looks in current dir and in runtime/parrot/include.

leo



>                                       Dan


leo

Reply via email to