previous next
Comparing PM with Procedural Applications
Input Events:
Procedure Applications. Event-driven PM Application.
Separate functions are used for different types of input. One function is used for all input events.
Calls for input can be made throughout an application. All primitive input is obtained at one point.
Applications can have any structure. The initial structure of a PM application is dictated by the above.
Different data structures are used for different input types. All input events use a standard data structure called a message.
Output:
Procedural Application Event-driven PM Application
Output can be sent to stdout which can be assumed to exist. Output is to a Presentation Space which must be created.
Anything other than simple text involves writing to video memory. Video memory cannot be accessed.  A vast set of rich text and graphics functions make this unnecessary.