Hi boatman, kandlekid. Depends on what you're trying to accomplish. kandlekid's #define parameterizes the code, but the array's size is still defined a compile time. If what you're after is an array dynamically defined at run time, then I believe you need to be using malloc, etc.
Hi DdlV and kandlekid. Thanks for your suggestions, much appreciated. I can't make it work using the pre-processor; this seems to result in the same syntax error. I'll give malloc a try - don't know anything about this function yet, so I will have a look at the manual and do some googling.