From: rixed@happyleptic.org
To: guile-user@gnu.org
Subject: Re: Creating a top level definition if none so far exists, on the fly.
Date: Thu, 15 Aug 2013 13:10:05 +0200 [thread overview]
Message-ID: <20130815111005.GB3335@dell.happyleptic.org> (raw)
In-Reply-To: <20130815115759.585bf639@DebianBox.loc>
> (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 an
> initialization step to have been performed.
> Is there a straight-forward way to modify this?
(define ToggleFiguredBassMode::Active
(if (defined? 'ToggleFiguredBassMode::Active)
ToggleFiguredBassMode::Active
#f))
Nothing to feer I guess.
next prev parent reply other threads:[~2013-08-15 11:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-15 10:57 Creating a top level definition if none so far exists, on the fly Richard Shann
2013-08-15 11:10 ` rixed [this message]
2013-08-15 11:18 ` Mike Gran
2013-08-15 12:08 ` Richard Shann
2013-08-15 12:17 ` Mike Gran
2013-08-15 13:37 ` Richard Shann
2013-09-07 9:48 ` Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130815111005.GB3335@dell.happyleptic.org \
--to=rixed@happyleptic.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).