mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 10:11:27 +01:00 
			
		
		
		
	
							parent
							
								
									fde944bf5d
								
							
						
					
					
						commit
						e4956552de
					
				
							
								
								
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
								
							| @ -12823,6 +12823,7 @@ tests/webtbs/tw2274.pp svneol=native#text/plain | |||||||
| tests/webtbs/tw22741.pp svneol=native#text/plain | tests/webtbs/tw22741.pp svneol=native#text/plain | ||||||
| tests/webtbs/tw22744.pp svneol=native#text/pascal | tests/webtbs/tw22744.pp svneol=native#text/pascal | ||||||
| tests/webtbs/tw2277.pp svneol=native#text/plain | tests/webtbs/tw2277.pp svneol=native#text/plain | ||||||
|  | tests/webtbs/tw22796.pp svneol=native#text/plain | ||||||
| tests/webtbs/tw2280.pp svneol=native#text/plain | tests/webtbs/tw2280.pp svneol=native#text/plain | ||||||
| tests/webtbs/tw22860.pp svneol=native#text/plain | tests/webtbs/tw22860.pp svneol=native#text/plain | ||||||
| tests/webtbs/tw22864.pp svneol=native#text/pascal | tests/webtbs/tw22864.pp svneol=native#text/pascal | ||||||
|  | |||||||
							
								
								
									
										24
									
								
								tests/webtbs/tw22796.pp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								tests/webtbs/tw22796.pp
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,24 @@ | |||||||
|  | program CompileError; | ||||||
|  | 
 | ||||||
|  | {$mode delphi}{$H+} | ||||||
|  | 
 | ||||||
|  | //uses Classes; | ||||||
|  | 
 | ||||||
|  | type | ||||||
|  |   TWordTagValue = record | ||||||
|  |   strict private | ||||||
|  |     FValue: Word; | ||||||
|  |     FMissingOrInvalid: Boolean; // Try to disable this line ! | ||||||
|  |   public | ||||||
|  |     class function CreateFromString(const AString: string): TWordTagValue; static; | ||||||
|  |     property Value: Word read FValue; | ||||||
|  |   end; | ||||||
|  | 
 | ||||||
|  | class function TWordTagValue.CreateFromString(const AString: string): TWordTagValue; | ||||||
|  | begin | ||||||
|  |   Result.FValue := 0; | ||||||
|  | end; | ||||||
|  | 
 | ||||||
|  | begin | ||||||
|  | end. | ||||||
|  | 
 | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jonas Maebe
						Jonas Maebe