Xojo Documentation Xojo Documentation

  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • Log in
  • Xojo Documentation
  • Home
  • Download Xojo
  • Recent changes
  • MediaWiki Info
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Books
  • Welcome!
  • Fundamentals
  • User Interface
  • Framework
  • Technical Information
  • Programming Language Commands
  • Framework
  • iOS Framework
  • System Requirements
  • Release Notes
  • Deprecations
  • Videos
  • Example Projects
  • FAQ
  • International
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

TargetMacOS

From Xojo Documentation

Constant As Boolean

anBoolean = 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.

Retrieved from "http://docs.xojo.com/index.php?title=TargetMacOS&oldid=56640"
Categories:
  • Constants
  • Language OS
  • Language Constants
  • Compiler
  • This page was last edited on 21 November 2018, at 15:28.
  • Privacy policy
  • About Xojo Documentation
  • Disclaimers
  • Send Doc Feedback
  • Powered by MediaWiki