Constant

# TargetBigEndian

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

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

## Usage

``` xojo
result = TargetBigEndian
```

| Part   | Type                               | Description                                                                                            |
|--------|------------------------------------|--------------------------------------------------------------------------------------------------------|
| result | `Boolean</api/data_types/boolean>` | Returns `True</api/language/true>` if you are compiling for an OS that uses the Big Endian byte order. |

## Notes

Big Endian means that the high-order byte is stored in memory at the lowest address and the low-order byte at the highest address. Macintosh PowerPC uses the Big Endian byte order.

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`DebugBuild</api/compiler_directives/debugbuild>`, `XojoVersion</api/language/xojoversion>`, `XojoVersionString</api/language/xojoversionstring>`, `TargetAndroid</api/compiler_directives/targetandroid>`, `TargetDesktop</api/compiler_directives/targetdesktop>`, `TargetLinux</api/compiler_directives/targetlinux>`, `TargetLittleEndian</api/compiler_directives/targetlittleendian>`, `TargetMachO</api/compiler_directives/targetmacho>`, `TargetMacOS</api/compiler_directives/targetmacos>`, `TargetMobile</api/compiler_directives/targetmobile>`, `TargetWeb</api/compiler_directives/targetweb>`, `TargetWindows</api/compiler_directives/targetwindows>`, `TargetX86</api/compiler_directives/targetx86>` constants; `＃If...＃EndIf</api/compiler_directives/if...endif>` statement.

</div>
