Forum > Beginners

[solved] How can the compile-date be used

<< < (2/2)


--- Quote from: Thaddy on May 14, 2024, 06:50:37 pm ---You can also use my version trick for %compilerversion%.
If you are a trunk user, you can determine the patch version.
I am referring to this:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---var  fpcversion:array[0..255] of char; external name '__fpc_ident';begin  writeln(fpcversion);end.
--- End quote ---

The existance of this symbol is not documented and thus must be considered an implementation detail (as I had already told you here). So if you have to mention this, then please also mention that it isn't documented and thus isn't official and thus anyone uses it at their own risk.

(Also this symbol already exists for seven years and thus is also part of the 3.2.x series)

Point taken. It is just one of the "Just because I can"....

Thanks for the answers, I figured it would be something related to compiler directives


[0] Message Index

[*] Previous page

Go to full version