or too late last night ;)
>ahh... right... It was too early this morning...
>
>the text is substituted at compile time. Evaluation happens at runtime.
>
>
>>Ok, then why does this work. Compiled in IDE, executed in an exe
>>
>>A #defined constant is just a text substitution, there is
no evaluation at compile time
>>
>>
>>#define RUNNING_IN_IDE !empty(Version(2))
>>
>>?'ide', RUNNING_IN_IDE
>>? [RUNNING_IN_IDE]
>>
>>
>>>Yes.
>>>
>>>#DEFINE is a precompiler directive and will only be evaluated at compile time.
>>>
>>>>Are you sure ?
>>>>
Gregory