Browse Prior Art Database

OS/2 Dynamic Link Interface From an Editor Macro Language

IP.com Disclosure Number: IPCOM000099412D
Original Publication Date: 1990-Jan-01
Included in the Prior Art Database: 2005-Mar-14
Document File: 2 page(s) / 53K

Publishing Venue

IBM

Related People

Margolis, L: AUTHOR [+2]

Abstract

Disclosed is a program which allows an editor macro programmer access to the rich function set of the OS/2* dynamic link library. The interface described here will show the steps necessary to connect a macro language to an operating system function CALL.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 61% of the total text.

OS/2 Dynamic Link Interface From an Editor Macro Language

       Disclosed is a program which allows an editor macro
programmer access to the rich function set of the OS/2* dynamic link
library.  The interface described here will show the steps necessary
to connect a macro language to an operating system function CALL.

      Editor macro languages do not inherently lend themselves to
direct calls to the operating system's services.  However, internal
support can be added to the editor macro language to allow for this
to occur.  The advantage to calling operating system services in an
editor macro language is that it provides a very large set of
function to the macro programmer.  It allows the editor program to
remain small in size, as opposed to the case where the editor would
provide special case functions for all the needs of the macro
programmer.

      In its most basic form the interface described here is a
generalized call to the operating system.  The steps that are
involved are:

      1.   Receive information as to which dynamic library module
will be used (e.g., DOS-CALLS);

      2.   Receive information as to which dynamic library procedure
will be used (e.g., DOS FINDFIRST);

      3.   Receive information as to which stack parameters must be
passed to the procedure;

      4.   Build the appropriate parameter stack by pushing the
parameters on the machine stack;

      5.   Ascertain whether the requested module...