Constructed types and tace?

Tim Cutts timc at chiark.greenend.org.uk
Tue May 15 05:54:23 EST 2001


In article <W1h*JQVVo at news.chiark.greenend.org.uk>,
Tim Cutts  <timc at chiark.greenend.org.uk> wrote:
>Greetings all,
>
>Is it possible to persuade the tace 'show' command to display the
>constructed types within an object?  It seems to work inconsistently.
>Some constructed types do display, others do not.

Aha, I see what the problem is now.  The constructed types are
displayed, but slightly differently from the rest of the show -a output.

Normally, show -a only lists the extreme-right-most tag name, but when
displaying a constructed type it displays the extreme-right-most tag
names of both the parent object and the constructed type, so if you have
a model like:

?TypeA   Tag1	Subtag1  Int
		Subtag2  #TypeB

?TypeB   Tag3   Subtag3  Text


then show -a outputs things like:

TypeA : "Foobar"
Subtag1 3
Subtag2 Subtag3 "Something interesting"

which is not quite what I was expecting, but sort of makes sense.

Tim.





More information about the Acedb mailing list