From Newsgroup: comp.sys.tandem
On Monday, March 20, 2023 at 9:36:13rC>a.m. UTC-4, Henrik Paludan-M|+rk wrote:
i am looking to create a DEF which contains earlier DEFS, stored already in the DICT.
DEF
custname TYPE *.
custaccount TYPE custaccount.
custadrs TYPE adrsrec.
end.
where custadrs is really a RECORD used in a file.
so that the resulting DEF is in fact sort of nested.
This does not seem to work, and i am sure i misunderstand something.
What have i forgotten? (this time around...)
I do not think you can reference a RECORD as a DEF type. Your RECORD should be defined in terms of a DEF, and then reference that DEF in another DEF. Don't forget the ?DICT statement to open the existing dictionary.
--- Synchronet 3.21d-Linux NewsLink 1.2