The compiler returns an error because the clist_mfp variable that you are using has not been initialized. You can't set the member in the DFMINFO structure until after you have called mf_def() to initialize clist_mfp.
Set the clist_mfp member to NULLP and then do a direct assignment of that structure member:
|
where fminfop is the DFMINFO array pointer, n is the index and mfp is the choice list memory file that is being assigned. Or, it can be done in the following manner after the form is read into memory:
|