TargetMacOS

From Xojo Documentation

Revision as of 15:28, 21 November 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.