M
Marcin Lukasik
Hello,
I have the following in my code:
#define _TST {100, 200, 300, 400}
How do I extract any of four elements from that define, and put it into another define? So I would like to have something like this:
#define VALUE2 _TST[2]
(but this of course won't work)
Is there a way of doing it without declaring an array and assigning _TST to it?
Thank you in advance,
Marcin
I have the following in my code:
#define _TST {100, 200, 300, 400}
How do I extract any of four elements from that define, and put it into another define? So I would like to have something like this:
#define VALUE2 _TST[2]
(but this of course won't work)
Is there a way of doing it without declaring an array and assigning _TST to it?
Thank you in advance,
Marcin