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

19 lines
414 B
ObjectPascal

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