Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database location priority
Message
From
04/03/2004 13:59:43
 
 
To
04/03/2004 13:00:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00883015
Message ID:
00883195
Views:
8
I do similar conditional logic for design time and runtime by
IF version(2) <> 0
  *!* set designtime stuff
else
  *!* set runtime stuff
endif
>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,
Previous
Reply
Map
View

Click here to load this message in the networking platform