mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 11:53:42 +01:00 
			
		
		
		
	* adapted for use with DOS
This commit is contained in:
		
							parent
							
								
									baa08b8bab
								
							
						
					
					
						commit
						c57f9f07a7
					
				| @ -1,6 +1,12 @@ | ||||
| Program testrtti; | ||||
| 
 | ||||
| Uses Typinfo,classes; | ||||
| {$M+} | ||||
| 
 | ||||
| Uses | ||||
| {$ifdef go32v2} | ||||
| dpmiexcp, | ||||
| {$endif} | ||||
| Typinfo; | ||||
| 
 | ||||
| Const TypeNames : Array [TTYpeKind] of string[15] =  | ||||
|                     ('Unknown','Integer','Char','Enumeration', | ||||
| @ -13,7 +19,7 @@ Const OrdinalTypes = [tkInteger,tkChar,tkENumeration,tkbool]; | ||||
| Type | ||||
|       TMyEnum = (meFirst,meSecond,meThird); | ||||
| 
 | ||||
| Type TMyTestObject = Class(TPersistent) | ||||
| Type TMyTestObject = Class | ||||
|        Private | ||||
|        FBoolean  : Boolean; | ||||
|        FByte     : Byte; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 florian
						florian