 
        +4
    
    
    
        
        
        Fixed
        
        
    
    
    
    
    
    [W513] False positive when using index specifier
Using an index specifier in format statements creates false positive W513 warnings.
ShowMessage(Format('%d %0:d', [1]));//OKAY - output "1 1"
ShowMessage(Format('%0:d %0:d', [1]));//OKAY - output "1 1"
ShowMessage(Format('%0:d %0:d %1:d', [1, 2]));//OKAY - output "1 1 2"
ShowMessage(Format('%0:d %0:d %1:d %d', [1, 2]));//ACTUALLY AN ERROR, because last %d requires a third arguments array item
ShowMessage(Format('%d %0:d', [1]));//OKAY - output "1 1"
ShowMessage(Format('%0:d %0:d', [1]));//OKAY - output "1 1"
ShowMessage(Format('%0:d %0:d %1:d', [1, 2]));//OKAY - output "1 1 2"
ShowMessage(Format('%0:d %0:d %1:d %d', [1, 2]));//ACTUALLY AN ERROR, because last %d requires a third arguments array item
 
0
	
    
	
	
	
	
	
	
		
	        Planned
		
	
	
	
		Roman 11 years ago
    
	
	
	
 
0
	
    
	
	
	
	
	
	
		
	        Started
		
	
	
	
		Roman 11 years ago
    
	
	
	
 
0
	
    
	
	
	
	
	
	
		
	        Fixed
		
	
	
	
		Roman 11 years ago
    
	
	
	
Customer support service by UserEcho
 Bugs
		
		
	
Bugs 
	
