We use
IF SET('DEVELOPMENT')="ON"
simply because we always have it turned on in the config.fpw the developers use and also if we are at a customer's site we display special messages for troubleshooting if set development is on and we can temporarily change the setting in the customer's config.fpw for testing purposes and then set it back. It works and it prevents me from having to change tons of code where we do this because we have used it since FPD26...
>Hi Welington,
>
>Thank you for replying,
>I could do that (put the path and the default folder at the startup), but I will have to change it anytime I must change and test something in the development time.
>
>I'm looking for something that works at both times (development and production).
>
>Regards,
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"