I have a unit which has a resourcestring
in its implementation
section. How can I get the resourcestring
's identifier in another unit?
unit Unit2;
interface
implementation
resourcestring
SampleStr = 'Sample';
end.
If it is available in the interface
section, I can write this:
PResStringRec(@SampleStr).Identifier