AuthorMessage
NeiSep
Ametuar
Posts: 93

Is there someone here who has some doc about StringArray i cant find any information about it.
Have a nice day
Mickey
Ametuar
Posts: 115

Here you are:
Code:
var
  MyStringArray:  array[1..10] of string;
...
 MyStringArray[1] := 'Some text';
 MyStringArray[2] := 'Other text';
...

That's all how to use strings in arrays. I don't think a book is needed.
NeiSep
Ametuar
Posts: 93

o so thats how the StringArray work thanks alot man.
Mickey
Ametuar
Posts: 115

Although it is static variable which means it is consumming memory on heap even if you don't use the variable. It is adviced to use dinamic variables.
You can create a dynamic variable only when you need it then you can destroy to free up memory.
In Object Pascal you can use TStrings and TStringList. You can do a lot of operations on TStringlist. For more information and samples see Delphi Help.