h := Array(1..2^16,datatype=float, storage=rectangular, order = C_order) # of hfarray
x:= Read(clarinet): # of Array
Why am I able to store an Array into a hfarray? Aren't they different types? I mean, in object oriented languages, I'm not able to store an int into a float array since they are of different types, except for objects from a subclass into one of a superclass.
But - implying, that Maple is somehow object oriented - shouldn't be Array the more generic type, the 'superclass' and hfarray the more specific type, the 'subclass'?
What is happening here? Am I storing an object from a superclass into one of a subclass?