| 
                    
 This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com  | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 
                
  | 
                
					
                    
                         
    4D v20.6
 
Is macOS 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Is macOS -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| Function result | Boolean | 
             
         | 
        True if operating system = macOS, else False | |||||
The Is macOS command returns True if the current operating system is macOS.
You want to determine if the current operating system is macOS:
 If(Is macOS)
    ALERT("It's macOS")
 Else
    ALERT("It's not macOS")
 End if
	Product:  4D
	Theme:  System Environment
	Number:  
        1572
        
        
        
	
	Created:  4D v17
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v20)
	
	
	4D Language Reference ( 4D v20.1)
	
	
	
	4D Language Reference ( 4D v20.2)
	
	4D Language Reference ( 4D v20.3)
	
	4D Language Reference ( 4D v20.4)
	
	
	4D Language Reference ( 4D v20.5)
	4D Language Reference ( 4D v20.6)
	
	
	
Add a comment