This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
Is Windows

Is Windows 


 

Is Windows -> Function result 
Parameter Type   Description
Function result  Boolean in True if operating system = Windows, else False

The Is Windows command returns True if the current operating system is Windows.

Example  

You want to determine if the current operating system is Windows:

 If(Is Windows)
    ALERT("It's Windows")
 Else
    ALERT("It's not Windows")
 End if



See also 

Get system info
Is macOS

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 1573

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)