[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'objpas' (#rtl) |
Return default (original) value of resourcestring
Source position: objpas.pp line 90
function GetResourceStringDefaultValue( |
TableIndex: LongInt; |
StringIndex: LongInt |
):AnsiString; |
GetResourceStringDefaultValue returns the default value of the resourcestring in table TableIndex with index StringIndex.
The default value is the value of the string that appears in the source code of the programmer, and is compiled into the program.
If either TableIndex or StringIndex are out of range, then a empty string is returned.
|
Set values of all resource strings. |
|
|
Return current 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 Example91; { Program to demonstrate the GetResourceStringDefaultValue function. } {$Mode Delphi} ResourceString First = 'First string'; Second = 'Second String'; Var I,J : Longint; begin { Print default values of all resourcestrings } For I:=0 to ResourceStringTableCount-1 do For J:=0 to ResourceStringCount(i)-1 do Writeln (I,',',J,' : ',GetResourceStringDefaultValue(I,J)); end.
No notes exist for this page yet.