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.

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.


result = TargetLittleEndian

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


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.