mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 04:11:35 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			223 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			223 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| Program Example64;
 | |
| 
 | |
| { This program demonstrates the BCDToInt function }
 | |
| 
 | |
| Uses sysutils;
 | |
| 
 | |
| Procedure Testit ( L : longint);
 | |
| begin
 | |
|   Writeln (L,' -> ',BCDToInt(L));
 | |
| end;
 | |
| 
 | |
| Begin
 | |
|   Testit(10);
 | |
|   Testit(100);
 | |
|   Testit(1000);
 | |
| End. | 
