[Info-vax] Access to _all_ VMS system services and library functions from DCL ?
David Froble
davef at tsoft-inc.com
Mon Jul 10 22:06:21 EDT 2017
Stephen Hoffman wrote:
> On 2017-07-10 19:46:19 +0000, David Froble said:
>
>> Have defined blocks of data for each system service. Either I allocate
>> the memory, (probably best) or have the system service allocate the
>> memory. Then jam it full of all data provided by that system
>> service. Sure would do away with item lists, at least to some extent.
>>
>> If I can "include" the data structure in my programs, and then
>> reference the data by name, sure would make things simpler.
>
> You're so very close to object-oriented programming here. Abstract the
> data a little further, and abstract the APIs while you're working at it,
> and you'd be there...
>
>
I don't know how to "abstract" ...
:-)
Now, perhaps someone will ask, "won't doing all the data be overhead?"
I don't think so. Now the system service must decode the item list, make
decisions, and such. To load a data structure, it's most likely sequential
code, one pass, and done.
But what do I know?
Not how to "abstract" ???
More information about the Info-vax
mailing list