mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 02:51:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			414 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			414 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| 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.
 | 
