wrong error message
In the following program:
inline qtest (N) {
byte QQ [N] = 0;
skip; } init{ qtest(77); }
epispin will give the following error message: This macro call is undefined or does not expand to a constant.
Spin will tell you (correctly) that it is not a proper way of working to declare a variable (here: QQ) inside an inline, because an inline does not create a new scope. The declaration should therefore be placed outside the inline (at the global level).
Submitted by Kees Pronk on 1 April 2012 at 17:19
Log in to post comments