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.