>>I have some code that I want to execute in my executable MyApp.exe, but I don't want it to run during development sessions when I type DO MyApp.
>>
>>if IsRunningAsExe()
>> * Special code for exe only goes here *
>>endif
>>
>>Can anyone help with an equivalent to the missing IsRunningAsExe() function.
>
>If you're simply trying to run the code when in production and not in development, use:
>
>
>IF VERSION(2) = 0
> * We're running the runtime version
>ENDIF
>
>
>hth,
Thanks to all. Three great answers to my problem right away.
I've just recently become a paid member on the Thread, and Its nice to have something to report back to my benefactor (employer) so soon.