probably just the major version info
Windows : XP, 7, 8, or 10
Mac : 10.9, 10.10, 10.11 ...
so far, for me, I only need to differentiate between platforms, not OSes
so when I need
if (Folder separator = ":") `this is a mac
do mac stuff
else
do windows stuff
end if
Chip
On Thu, 18 Jul 2019
Hello,
I think the verbose version string is for human consumption,
for example, to help the end user or support contact identify the running
platform.
I can't think of any situation where the internal build number would be needed
in 4D code.
For osVersion, I think it would help if there was a
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 <4d_tech@lists.4d.com>
> escribió:
>
> So PLATFORM PROPERTIES has been deprecated in favor of Get System Info. Get
>
John,
C_OBJECT(System_Info_ob)
System_Info_ob:=Get system info
vPlatformOS:=System_Info_ob.osVersion
David Ringsmuth
**
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com
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 proce
5 matches
Mail list logo