Help Center
Help CenterFreeBASIC

__FB_BUILD_SHA1__keyword

Intrinsic define (macro string) set by the compiler

Intrinsic Defineskeyworddocumented

Syntax

__FB_BUILD_SHA1__

Description


Substituted by a string of the compiler's source SHA-1 revision. The value is set using the SHA-1 commit id of the source code revision used to build the compiler binary, if available. If the SHA-1 was not available at the time of building the compiler, the value will be an empty string.

Remarks

Version


  • Since fbc 1.07.1

Differences from QB


  • New to FreeBASIC

Example


Print __FB_BUILD_SHA1__


Reference

  • Documented in KeyPgDdfbbuildsha1.html