I suppose I'm just curious but...
I picked up Craig's program in faq184-4264 and put it in a program.
I thought I would be (ahem) clever
and moved all the #DEFINE statements to the bottom of the file so that the part that does the work is seen as soon as the prg is edited.
My thinking was that the compiler would pick up the constants wherever they appeared in the prg file. However that is clearly not the case!!
As I say, it's mostly curiosity, but does anyone know how the compiler does its work?
Thanks,
Stewart
I picked up Craig's program in faq184-4264 and put it in a program.
I thought I would be (ahem) clever
![[blush] [blush] [blush]](/data/assets/smilies/blush.gif)
My thinking was that the compiler would pick up the constants wherever they appeared in the prg file. However that is clearly not the case!!
As I say, it's mostly curiosity, but does anyone know how the compiler does its work?
Thanks,
Stewart