TargetMacOS

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Constant As Boolean

aBoolean = TargetMacOS

Used to indicate that you are compiling code for macOS.

Usage

result = TargetMacOS

Part Type Description
result Boolean Returns True if you are compiling or running for macOS.

See Also

DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetiOS, TargetDesktop, TargetLinux, TargetLittleEndian, TargetARM, TargetWeb, TargetWindows, TargetX86 constants; #If...#Endif statement.