Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional Programming By Version
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Conditional Programming By Version
Miscellaneous
Thread ID:
00811991
Message ID:
00811991
Views:
50
I am moving my application to VFP8, but during the process, I need/want to be able to recompile in 7 if I have a major issue that needs to be corrected. Is there a way to condition the code by version, like:
if subs(version(4),1,2)=[08]
    SET ENGINEBEHAVIOR 
else
    *VFP7 Code
endif 
Right now, if I try this type of code, I get compile error in 7 with the set enginebehavior

Thanks
Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform