Type t Field Value:Int = 10 Method add:Int(val:Int) Value:+Val Return Value End Method End Type Type t2 Field Value:Int = 100 Method Add:Int(val:Int) Value:+Val Return Value End Method End Type Global a:t = New t Global b:t2 = New t2 b.Add(a.Add(10)) Print b.value
It's what I thought he meant too :)