[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return current value of resourcestring
Source position: objpas.pp line 105
function GetResourceStringCurrentValue( |
TableIndex: LongInt; |
StringIndex: LongInt |
):AnsiString; |
GetResourceStringCurrentValue returns the current value of the resourcestring in table TableIndex with index StringIndex.
The current value depends on the system of internationalization that was used, and which language is selected when the program is executed.
If either TableIndex or StringIndex are out of range, then a empty string is returned.
|
Set values of all resource strings. |
|
|
Return default (original) value of resourcestring |
|
|
Return hash value of resource string |
|
|
Return name of resource string. |
|
|
Return number of resource string tables |
|
|
Return number of resource strins in table |
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.
lazarus-ccr.sourceforge.net |