in pre-17 versions (or when ever Is MacOS starts to exist) you can also 
use the konstant:
Folder separator   if all you need is to determine the current platform.

ex:
IF (Folder separator = ":")
  Do mac related stuff
else
  Do Windows related stuff
end if



On Sat, 17 Aug 2019 05:57:41 +0000, Keisuke Miyako via 4D_Tech wrote:
>  PLATFORM PROPERTIES  can be replaced by
> 
> Is Windows
> Is macOS
> 
> https://doc.4d.com/4Dv17/4D/17/Is-Windows.301-3760425.en.html
> https://doc.4d.com/4Dv17/4D/17.2/Is-macOS.301-4387313.en.html
> 
> if you are only interested in the platform.
> 
> ---
> 
> you can also use
> 
> Get system info
> 
> https://doc.4d.com/4Dv17/4D/17.2/Get-system-info.301-4387314.en.html
> 
> for detailed info.
> 
> https://doc.4d.com/4Dv17/4D/17.2/o-PLATFORM-PROPERTIES.301-4387318.en.html
> 
> ---
> 
> the newer commands make  PLATFORM PROPERTIES redundant,
> therefore the older command will not evolve in the future.
> in that sense it is a light deprecation.
> 
> ---
> 
> Mac to ISO is a non-Unicode function and does nothing since v11.
> 
> https://doc.4d.com/4Dv17/4D/17.2/o-Mac-to-ISO.301-4387396.en.html
> 
> you need to switch to BLOB in order to send or receive non-Unicode string.
> keep in mind that Unicode mode is mandatory in 64-bit.
> 
>> What about these 2 commands?
>> - Mac to ISO
>> - PLATFORM PROPERTIES
> 
> 
> 
> 
> **********************************************************************
> 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]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
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]
**********************************************************************

Reply via email to