delphi - How to get compiler version symbol -


except constants rtlversion , compilerversion there way how version symbol ver320 instead of following code?

'ver' + inttostr(trunc(compilerversion * 10)) 

the simple answer question no. there no mechanism code enumerate conditional symbols.

your current approach best can do, subject there being no guarantee future release of compiler follow current verxxx convention.

of course, may report compiler version directly.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -