jpluimers
I totally forgot to queue this, after putting in a draft in 2010. Luckily, nothing has changed since then: the [WayBack] MESSAGE directive Delphi which allows you to emit hint, warning, error (multiple) and fatal… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
The title might sound like a lot of gibberish, but the mechanism it describes helps solving a problem when using generics: lack of generic constraints in the compiler. For instance, you cannot constrain on enumeration… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A while back I proposed using JSON in order to [WayBack] Delphi 2010: How to save a whole record to a file? – Stack Overflow. There is also a native solution using streaming (which by… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A few things to learn from [WayBack] delphi – Constant array of cardinal produces error ‘Constant expression violates subrange bounds” – Stack Overflow: Delphi XE7 introduced compiler support for const dynamic arrays. Compiler errors can completely… … Read more
4 years ago in Delphi, Development, History, Software Development, Undocumented Delphi0
jpluimers
For my link archive a non-recursive DumpTypeDefinition method: Here ‘s a sample code of how you can dump the declaration of a TRttiType using the Rtti. Supports classes, records and interfaces. Delphi Use in this… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
My post on Delphi intrinsic functions that evaluate to consts as a step up to Delphi compile time assertions. This is a corner case of Delphi language use, which can come in very handy when… … Read more
4 years ago in .NET, C++, Delphi, Development, Software Development0
jpluimers
A long time ago, I wondered Are these really Windows compiler unsupported Delphi Intrinsic Routines about [WayBack/Archive.is] Delphi Intrinsic Routines – RAD Studio. Today, I limited the documented intrinsic list to the constant intrinsic functions: const… … Read more
4 years ago in Delphi, Development, Software Development, Undocumented Delphi0
jpluimers
I tried searching for F2084 Internal Error: MA1263 – Google Search which happened on a complete up to date Delphi 10.1 Berlin installation. It came from a large unit testing application using truckloads of generic language constructs,… … Read more
4 years ago in Delphi, Delphi 10.1 Berlin (BigBen), Development, Software Development0
jpluimers
A long time ago, I write a question [WayBack] delphi – Should the compiler hint/warn when passing object instances directly as const interface parameters? – Stack Overflow in 2010. It was marked by (now former) compiler… … Read more
4 years ago in Delphi, Development, Software Development0