- Roland Smith
- PowerBuilder
- Monday, 12 February 2018 04:05 AM UTC
In PB 2017-R2 the environment object has the following values:
PBMajorRevision = 17
PBMinorRevision = 0
PBFixesRevision = 0
PBBuildNumber = 1756
With R2 and future R3 having new features, I think it would be useful for PBMinorRevision to be set to something other than zero. It would be helpful for PFC for example where not everyone might be on the same release. Code relating to new features could be disabled by checking the values.
Many companies have code in application startup that checks to make sure the developer has the correct version of PowerBuilder installed. Taking advantage of these revision properties would be helpful all around.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.