You can use the 4D function *Is macOs* or *Is Windows* instead of the longint returned by PLATFORM PROPERTIES
Alberto > El 14-07-2019, a las 19:19, JOHN BAUGHMAN via 4D_Tech <[email protected]> > escribió: > > So PLATFORM PROPERTIES has been deprecated in favor of Get System Info. Get > System Info is far ore informative, but am I the only one finding the text > values of some of the properties near impossible to work with in a consistent > manner across multiple platforms? Specifically osVersion and processor. > > For example. If you need, for whatever reason, to know what OS version 4D is > running in, osVersion might return… > > Microsoft Windows 10 Professionnel 10.0.14393 > OR > macOS 10.13.6 (17G7024) > > Unless I am not seeing a way, how can one parse the returned value to get a > usable value across multiple platforms now and going forward? PLATFORM > PPROPERTIES returned a Long Integer that you could work with. > > For osVersion, I think it would help if there was a property that just > returned the long int value of the os, ie. osVersioinNumber -> 10.0.14393 > > Not sure what could be done for processor. > > John > > > John Baughman > Kailua, Hawaii > (808) 262-0328 > [email protected] > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

