Question: table and indexed

Why is a more direct approach of defining a table now working and giving an indexed type, while the indirect approach is giving a table?

atable := table()

table( [ ] )``

(1)

a := table()

table( [ ] )

(2)

atable["a"] := a

a

(3)

atable["b"] := table()

table( [ ] )

(4)

whattype(atable["a"])

table

(5)

whattype(atable["b"])

indexed

(6)

NULL

Download tabledefinition.mw

Please Wait...