Help Center
Help CenterFreeBASIC

__FB_BIGENDIAN__keyword

Intrinsic define set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

__FB_BIGENDIAN__

Description


Define without a value created at compile time if compiling for a big endian target.

It can be used to compile parts of the program only if the target is big endian.

Remarks

Differences from QB


  • Did not exist in QB


Example


#ifdef __FB_BIGENDIAN__

   '...instructions only for big endian machines

#else

  '...instructions only for little endian machines

#endif 



Reference

  • Documented in KeyPgDdFBBigEndian.html