|
|
Jaime Vives Piqueres wrote:
> Sorry, I see now that indeed you tried, and that was the original
> question: why it works outside the macro but not inside.
Correct.
>
> Anyhow, I did a test putting the macro in a separate include file,
> and now at least the error message isn't random anymore: it's always
> "Attempt to access uninitialized array element" on this line:
That's the error I started out with.
>
> #declare CFS[Count] = CFS[Count-1];
>
> But as data.inc is included and has valid #declares, that cannot be
> the real reason...
>
That's how I started out. I like certain things kept together in separate
include files, and since I don't always use the CenterOfMass calculations
it's a perfect candidate for the #if(CenterOfMass) clause.
>
> --
> jaime
--
Ger
Post a reply to this message
|
|