#define behavior change
Date | 2016-12-30 21:45 |
From | Allessandro Valencia |
Subject | #define behavior change |
I was wondering if the behavior of #define has changed in the .sco Are we not allowed to call a defined function from within another function? after I got 6.08 my file does not work. in attempting... In that example i'm told that $BEATS... is not defined when it is. If I uncomment to check, then the next line is declared undefined. Basically any calls to a defined function WITHIN another function declares the called function undefined. Is this a new change?#define SONG0001_P1 # $BEATS____01_SEQ01(1') $SYNTH_SINE__0001(1') # #define SONG0001_P2 # $BEATS____01_SEQ01(2') $SYNTH_SINE__0002(2') # #define SONG0001 # $BPM(138') i30000 $SDUR $TDUR 0 $SONG0001_P1 $SONG0001_P2 # $SONG0001 |
Date | 2016-12-30 22:06 |
From | John ff |
Subject | Re: #define behavior change |
The macro system was rewritten for the last release to fix a number of bugs. Will check your example soon
Sent from TypeApp
On 30 Dec 2016, at 21:56, Allessandro Valencia <artisan.audio.research@GMAIL.COM target=_blank>artisan.audio.research@GMAIL.COM> wrote:
|
Date | 2016-12-31 18:15 |
From | Allessandro Valencia |
Subject | Re: #define behavior change |
I tried out some things this morning, and it seems that the score (what i tested) wont recognize a #define's name if it has more than one underscore (side by side). On Fri, Dec 30, 2016 at 5:06 PM, John ff <jpff@codemist.co.uk> wrote:
|
Date | 2016-12-31 18:23 |
From | jpff |
Subject | Re: #define behavior change |
Yes; double _ is used to associate arg names to macro names. I naively toug no one would se __ in a name. On Sat, 31 Dec 2016, Allessandro Valencia wrote: > I tried out some things this morning, and it seems that the score (what i > tested) wont recognize a #define's name if it has more than one underscore > (side by side). > > On Fri, Dec 30, 2016 at 5:06 PM, John ff |
Date | 2016-12-31 19:08 |
From | Allessandro Valencia |
Subject | Re: #define behavior change |
How extensive was the score handling change though? I'm confused that no one else is having problems. I changed all names but now I have no processing of my notes (no sound). Has zak been modified? Like what should I look out for? Is there any documentation? On Sat, Dec 31, 2016 at 1:23 PM, jpff <jpff@codemist.co.uk> wrote: Yes; double _ is used to associate arg names to macro names. I naively toug no one would se __ in a name. |
Date | 2016-12-31 20:22 |
From | John ff |
Subject | Re: #define behavior change |
Total rewrite to match orchestra macros. Fixes many bugs.
No change to Zak as far as I know
Sent from TypeApp
On 31 Dec 2016, at 19:09, Allessandro Valencia <artisan.audio.research@GMAIL.COM target=_blank>artisan.audio.research@GMAIL.COM> wrote:
|
Date | 2016-12-31 21:17 |
From | Victor Lazzarini |
Subject | Re: #define behavior change |
zak is not in the score.
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|