Re: Creating a top level definition if none so far exists, on the fly.

2013-09-07 Thread Andy Wingo
On Thu 15 Aug 2013 15:37, Richard Shann writes: > Hmm, so I asked about this before in February. Gives me an idea of the > extent of my memory span - it didn't even ring a bell. You know, I forgot about the answer too ;-) Andy -- http://wingolog.org/

Re: Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread Richard Shann
On Thu, 15 Aug 2013 05:17:49 -0700 (PDT) Mike Gran wrote: > > > > From: Richard Shann > >> > From: Richard Shann > >> > > >> > I have just started using GNU/Denemo under the guile 2.x and the > >> > following construct no longer works: > >> > > >> > (if (not (defined? 'ToggleFiguredBa

Re: Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread Mike Gran
> From: Richard Shann >> > From: Richard Shann >> > >> > I have just started using GNU/Denemo under the guile 2.x and the >> > following construct no longer works: >> > >> > (if (not (defined? 'ToggleFiguredBassMode::Active)) >> >     (define ToggleFiguredBassMode::Active #f)) >> >>

Re: Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread Richard Shann
On Thu, 15 Aug 2013 04:18:52 -0700 (PDT) Mike Gran wrote: > > From: Richard Shann > > > > I have just started using GNU/Denemo under the guile 2.x and the > > following construct no longer works: > > > > (if (not (defined? 'ToggleFiguredBassMode::Active)) > >     (define ToggleFiguredBassMode:

Re: Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread Mike Gran
> From: Richard Shann > > I have just started using GNU/Denemo under the guile 2.x and the > following construct no longer works: > > (if (not (defined? 'ToggleFiguredBassMode::Active)) >     (define ToggleFiguredBassMode::Active #f)) I remember Andy once suggested on this list that   (define-o

Re: Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread rixed
> (if (not (defined? 'ToggleFiguredBassMode::Active)) > (define ToggleFiguredBassMode::Active #f)) > > The intention is to have a variable defined at the top level which > starts out being #f. The need for the construct arose because it > appears in a self-contained script which cannot expect

Creating a top level definition if none so far exists, on the fly.

2013-08-15 Thread Richard Shann
I have just started using GNU/Denemo under the guile 2.x and the following construct no longer works: (if (not (defined? 'ToggleFiguredBassMode::Active)) (define ToggleFiguredBassMode::Active #f)) The intention is to have a variable defined at the top level which starts out being #f. The nee