有没有办法在Delphi声明一个字符串数组,如下面的一个?
- {'first','second','third'}
解决方法
尝试这个
- Const
- Elements =3;
- MyArray : array [1..Elements] of string = ('element 1','element 2','element 3');