Many thanks! Looks like I didn't read the manual properly, I ended up thinking
that ref Parent was how inheritance works. Just for confirmation:
type
# This is equivalent to a struct
Object1 = object
# This is a reference type to the "struct" Object1
Object2 = ref Object1
# This is a class
Class1 = object of RootObj
# This is a child class of Class1
Class2 = ref object of Class1
# This is a reference type to Class1
Class3 = ref Class1
I have noticed RootObj is used here frequently in declaring classes - I assume
that it can be substituted with any unused indentifier?