[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Script calling other scripts
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Script calling other scripts |
Date: |
Fri, 21 Aug 2009 10:10:02 +0100 |
On Thu, 2009-08-20 at 21:00 -0500, Jeremiah Benham wrote:
> I am sure Nils asked this question before but I wondered if there was a way
> to call other scheme procedures defined somewhere else.
There is
> An example would be to call the transpose selection script within an
> educational game. Should I just copy the relevant code over to the init.scm
> of the educational games
no, don't do this.
I am not fluent on the details. There is a command to "load" a command,
causing its init.scm to be executed, d-LoadCommand is defined in view.c
An example of use is in ObjectMenu/Score/TransposeScorePrint
Richard
> or can I somehow call the procedures after some sort of (load-from-path
> Transpose::init.scm) or something.
>
> Jeremiah
>
>
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel