|
|
On Wed, 10 Sep 2003 18:22:47 +0200, Florian Brucker <tor### [at] torfboldcom> wrote:
> <code>
> #include "strings.inc"
>
> #local Number = 34;
> #local PigmentName = concat("Pigment",str(Number,0,0));
>
> #ifndef(Parse_String(PigmentName))
> #debug "no pigment defined, yet\n"
> #end
> </code>
Try this:
#include "strings.inc"
#local Number = 34;
#local PigmentName = concat("Pigment",str(Number,0,0));
#local PigmentTest = concat("(defined(",PigmentName,")?yes:no)");
#if(!Parse_String(PigmentTest))
#debug "no pigment defined, yet\n"
#end
ABX
Post a reply to this message
|
|