Skip to content

FB_BUILD_SHA1


Intrinsic define (macro string) set by the compiler

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.

Examples

start GeSHi

vb
Print __FB_BUILD_SHA1__

end GeSHi

Version

  • Since fbc 1.07.1

Differences from QB

  • New to FreeBASIC

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft