I want to do something like this:
const
MyFirstConstArray: array[0..1] of string = (\'Hi\', \'Foo\');
MySecondConstArrayWhichIncludesTheFirstOne: array[0..2
If order isn't relevant, then use enumerated sets.
type
TMyConsts = (tConstFoo, tConstHi, TConstBar);
const
MyFirstConstSet = [tConstFoo, tConstHi];
MySecondConstSet = MyFirstConstSet + [TConstBar];
MyConstStrings: array[TMyConsts] of string = ('Foo', 'Hi', 'Bar');
You can use the MyConstStrings array to resolve your enumerations into strings if you want. Depends on your objective.