Romhacking.net

Romhacking => Newcomer's Board => Topic started by: skides on December 28, 2011, 07:33:01 pm

Title: wla conditional include
Post by: skides on December 28, 2011, 07:33:01 pm
can you use #ifdef or anything like in in wla? I haven't been able to find anything on it, and #ifdef and #endif compiled fine, but putting a word after the #ifdef it doesn't compile.

Thanks for the help!
Title: Re: wla conditional include
Post by: neige on December 28, 2011, 07:40:48 pm
Looking at the readme file, it seem you want .IFDEF, .ELSE and .ENDIF.

#ifdef and #endif are not directives in wla, the reason your code assemble without error is because wla treats them as ordinary labels.