Difference between revisions of "TargetLittleEndian"

From Xojo Documentation

m (See Also)
 
Line 32: Line 32:
  
 
== See Also ==
 
== See Also ==
[[DebugBuild]], [[XojoVersion]], [[XojoVersionString]], [[TargetBigEndian|TargetBigEndian]], [[TargetCocoa]], [[TargetDesktop]], [[TargetLinux]],  [[TargetMachO]], [[TargetMacOS]],  [[TargetWeb]], [[TargetWin32]], [[TargetX86]] constants; [[#If...#Endif]] statement.
+
[[DebugBuild]], [[XojoVersion]], [[XojoVersionString]], [[TargetBigEndian|TargetBigEndian]], [[TargetCocoa]], [[TargetDesktop]], [[TargetLinux]],  [[TargetMachO]], [[TargetMacOS]],  [[TargetWeb]], [[TargetWindows]], [[TargetX86]] constants; [[#If...#Endif]] statement.
  
 
[[Category:Language_OS]]
 
[[Category:Language_OS]]
 
[[Category:Language_Constants]]
 
[[Category:Language_Constants]]
 
[[Category:Compiler]]
 
[[Category:Compiler]]

Latest revision as of 19:25, 13 July 2018

Constant As Boolean

aBoolean = TargetLittleEndian

Used to indicate that you are compiling for an OS that uses the Little Endian byte order.

Usage

result = TargetLittleEndian

Part Type Description
result Boolean Returns True if you are compiling for an OS that uses the little Endian byte order.

Notes

Little Endian means that the low-order byte is stored in memory at the lowest address and the high-order byte is stored at the highest address. PCs and Intel Macintoshes use the Little Endian byte order.

Intel x86 CPUs are little-endian.

See Also

DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetCocoa, TargetDesktop, TargetLinux, TargetMachO, TargetMacOS, TargetWeb, TargetWindows, TargetX86 constants; #If...#Endif statement.