by J <jocelyn-fake-email@[EMAIL PROTECTED]
>
Oct 18, 2007 at 02:52 PM
As the compiler says the error is on
io.put_integer (v)
in MY_TREE, `v' is of type G (which must conform to COMPARABLE)
However, put_integer accepts only INTEGER values.
What you are trying to do is
io.put_integer (a_comparable_value)
What you might do is
io.put_string (v.out)
For an INTEGER value, v.out will do what you wanted.
But this might not be the case for any object conforming to COMPARABLE.
Hope this helps,
-- Jocelyn.