This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR2355: Is there a way to tell the sizeof a #DEFINE string?

Part Number: MSP430FR2355

I have a bunch of varying size configuration commands:

#define r_getPwr "ER_CMD#P?"

similar to the one above....I arrange them in a const char array and after I load each one I want to know the size of it 

I've found that sizeof(r_getPwr) doesn't work.....how can I do this?

Thanks

**Attention** This is a public forum