const Str1: array [0..2] of string = ( 'p1', 'p2', 'p3' );
const Str1: array [0..2] of PChar = ( 'p1', 'p2', 'p3' );
... or maybe :Code: [Select]const Str1: array [0..2] of string = ( 'p1', 'p2', 'p3' );thank you very much, but i'm using freepascal dialect.You don't need a pointer type in Object Pascal for this.
thank you very much, but i'm using freepascal dialect.