This... is odd, I'm using AppDev (DWedit ?) for creating apps, but it's crashing when changing a certain macro.
This still works fine:
#define N1_R1 CALL Something1
#defcont \ CALL New1
#define N2_R1 CALL Something1
#defcont \ CALL New2
#define N3_R1 CALL Something1
#defcont \ CALL New3
#define N4_R1 CALL Something1
#defcont \ CALL New4
But as soon as I add one more:
(...)
#define N4_R1 CALL Something1
#defcont \ CALL New4
#define N5_R1 CALL Something1
#defcont \ CALL New5
It crashes. It's not the "New5" thingy, since it does the same for 6 and up, and when removing one earlier macro it does work fine with "5" and up. Now, this could indicate that the maximum number of macro's has been reached, however this is not the case. It can hold up to 1000 macros, and it's still far from. Plus, when adding many other macros it still works like a charm.
And what's even weirder, when using the macro to run a CALL containing both lines, line this:
#define N6_R1 CALL DoBoth
(...)
DoBoth:
CALL Something1
CALL New6
ret
it works fine again. Can go all the way from 1-w/e with that. (Though I guess it's faster and shorter to use the two CALLs in a row, rather than making a small routing doing both CALLs, right?). It's not the scripts which are being called either - with any other macro substituting for those it works fine. Am I missing something?
Thanks in advance!