fpc/docs/refex/ex92.pp
1999-08-28 14:51:33 +00:00

19 lines
389 B
ObjectPascal

Program Example92;
{ Program to demonstrate the GetResourceStringName function. }
{$Mode Delphi}
ResourceString
First = 'First string';
Second = 'Second String';
Var I,J : Longint;
begin
{ Print names of all resourcestrings }
For I:=0 to ResourceStringTableCount-1 do
For J:=0 to ResourceStringCount(i)-1 do
Writeln (I,',',J,' : ',GetResourceStringName(I,J));
end.