Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Program Generation From Panels

IP.com Disclosure Number: IPCOM000121276D
Original Publication Date: 1991-Aug-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 3 page(s) / 92K

Publishing Venue

IBM

Related People

McCorriston, RJI: AUTHOR

Abstract

Disclosed is a method of generating a program structure from panel windows, producing improvements in coding quality and productivity. An embodiment is described in terms of events, windows and code blocks for generating programs written in the Application System Language (ASL).

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

Program Generation From Panels

      Disclosed is a method of generating a program structure
from panel windows, producing improvements in coding quality and
productivity.  An embodiment is described in terms of events, windows
and code blocks for generating programs written in the Application
System Language (ASL).

      The structure of an ASL program is largely defined by the
windows which it uses.  By interrogating all windows to be used by
the program and by ascertaining the control types used, their names
and data references, a skeleton program may be generated which
contains:
-    the code required to open and close the windows
-    the event blocks and the base logic required to respond to user
interactions with the windows and controls therein
-    any "standard" code required to create a functioning program

      From this point, the program will only require the addition of
the logic to be applied following any specific event, considerably
reducing the time needed to create and test functioning programs.

      The approach may be considerably extended by allowing the user
to define flow paths, i.e., by selection on the controlled windows
and definition of the required response, code may be generated to
mirror these requirements.

      The program harness into which the user adds his specific code
is structured with program blocks associated with specific events and
windows.

      Having used a suitable screen paint application to create the
necessary window(s), these are passed to the code generator.  This
interrogates each window and determines the requirements of that
window in terms of the code which will be needed to support it.  ASL
code is then generated, which will include the following major
components:
ON DESKTOP

      This block is signalled if the user modifies the window in any
way, i.e., resizes or uses the maximize/minimize icons.  Code here
will take account of any such actions, e.g., by resizing controls to
account for new window size. This window has a sizing bo...