Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as Nimrod by Dan ( 6 years ago )
type
    T1Impl = object of RootObj
        field1:int
        
    T1 = ref T1Impl
    
    T2Impl = object of T1
        field2:int
        
    T2 = ref T2Impl

var a:T2

a = new(T2)
echo repr(a)

 

Revise this Paste

Your Name: Code Language: