[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using one identifier or another
From: |
Johan Vromans |
Subject: |
Re: Using one identifier or another |
Date: |
Fri, 22 Aug 2008 21:37:59 +0200 |
[Quoting Gilles THIBAULT, on August 22 2008, 18:11, in "Re: Using one identi"]
> Sorry i don't really understand this parser behaviour but i only
> know i have to care with it ...
Ah, that's something I understand...
The parser compiles the first expression:
aNotes = \relative c' { c1 e g }
Now, to make sure that the expression is finished, it looks ahead a
bit. There it sees the beginning of a scheme expression
#(if (not (defined? 'bNotes))
(define bNotes aNotes))
This expression is then compiled and executed immedeately. Now the
parser completes handling the first expression.
As a result, aNotes gets its value AFTER the scheme expression is
executed. Too late...
-- Johan
- Using one identifier or another, Johan Vromans, 2008/08/16
- Re: Using one identifier or another, Dan Eble, 2008/08/17
- Re: Using one identifier or another, Johan Vromans, 2008/08/18
- Re: Using one identifier or another, Dan Eble, 2008/08/18
- Re: Using one identifier or another, Johan Vromans, 2008/08/19
- Re: Using one identifier or another, Gilles THIBAULT, 2008/08/20
- Re: Using one identifier or another, Johan Vromans, 2008/08/22
- Re: Using one identifier or another, Gilles THIBAULT, 2008/08/22
- Re: Using one identifier or another,
Johan Vromans <=