|
My question: Why did you use the BASED keyword? Why bother
using BASED and then %ALLOC? Why not just do this?
D MyDS DS LIKEDS ( gMyOtherDS )
DIM ( 100 )
D MyPtr S *
MyPtr = %addr(MyDS);
PGM2(MyPtr);
Why tell the OS to let you handle the allocation if you're
just going to allocate the exact size of the structure?
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.