I'm having some problems defining an array of strings in const
under the code section in Inno Setup, I have the following:
[Code]
const
listvar: array [0..4] of string =
('one', 'two', 'three', 'four', 'five');
It's saying I need an =
where the :
is, but then I can't define it as an array.
I made a little utility function a little while ago. It won't allow you to assign an array on a constant but it could do the trick for a variable in a one liner. Hoping this help.
You can use it this way: