This is driving me nuts. We have rather lots of these arrays in our install/upgrade codes (lists of files) and they are badly out of sync. Being able to have a few smaller "constant array of string"s and compose the rest out of those would make life much easier.

This is driving me nuts. We have rather lots of these arrays in our install/upgrade codes (lists of files) and they are badly out of sync. Being able to have a few smaller "constant array of string"s and compose the rest out of those would make life much easier.

I'm beginning to think the whole "constant array" is an ugly kludge hammered onto the side of Pascal when it became obviously necessary, rather than something that's been thought through. It's bad enough that we have three or four different ways to get the same result (if you count "array of const" parameters) that are incompatible with each other, and only one can actually be declared at compile time. 

I will try concatenating functions that return arrays now, that should be fun. That way I can make them return constants... how ugly can we get? THIS UGLY!

http://stackoverflow.com/questions/17460378/possible-to-concatenate-constant-array-of-string
http://stackoverflow.com/questions/17460378/possible-to-concatenate-constant-array-of-string

Comments