The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

delphi – How do I build an array of const? – Stack Overflow

Posted by jpluimers on 2020/07/02

As I one day likely need to pas a dynamically created array of const from scratch (which behind the scenes actually is an array of TVarRec, where each element is, TVarRec which is a variant record that can have both values and pointers to values. So the result will be kind of a mess :)

Further reading:

Edit 20251105: also relevant is this excellent article [Wayback/Archive] Rudy’s Delphi Corner – Open array parameters and array of const which was pointed to me [W/A] at Delphi Developers

--jeroen

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.