On Monday, March 20, 2023 at 9:36:13 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.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)