Hi guys,
I need some conditional compilation.
Normally I use the @ifdef, @ifndef ... @endif statements to enable or disable some code and it works.
But if I need to switch some Variabile declaration like:
I obtain the error message: variable already an aliasCode:@ ifdef Devboard EnterKey VAR Key.0 StopKey VAR Key.1 StartKey VAR Key.2 @ else EnterKey VAR Key.2 StopKey VAR Key.0 StartKey VAR Key.1 @ endif
for each duplicate variable declaration line.
There is another way to obtain the conditional change of assignment?
Thk you
Roberto




Bookmarks