[fpc-pascal] Pre-initialising a TStringList
Juha Manninen
juha.manninen62 at gmail.com
Sun Feb 6 18:41:07 CET 2011
Mark Morgan Lloyd kirjoitti sunnuntai 06 helmikuu 2011 17:50:05:
> Is it possible to set up the text as an attribute (I'm avoiding the word
> property here for obvious reasons) of the entire class rather than of an
> instance?
The const array could be outside of any class.
It is global if declared in interface section, or local to one unit if
declared in implementation section.
Simple but it works well.
Juha
More information about the fpc-pascal
mailing list