mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 02:39:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			179 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			179 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
procedure myfunction(var t : array of char);
 | 
						|
begin
 | 
						|
  writeln(sizeof(t)); { should be 51 }
 | 
						|
end;
 | 
						|
 | 
						|
var
 | 
						|
  mycharstring : array[0..50] of char;
 | 
						|
 | 
						|
begin
 | 
						|
  myfunction(mycharstring);
 | 
						|
end.
 |