|
Advanced PowerBuilder Communication between Objects
When there are many objects in an application, you will probably want them to communicate, share variables and pass values among themselves. In a procedural programming language, it isn't a problem because, you either have one long program or a main routine with several subroutines and in the subroutine calls you pass the variables as parameters.
In an event-driven language, the process of communicating between objects is complex because of the fact that you don't always know what the user is going to do next. To make it easy, PowerBuilder provided us several different ways to communicate between its objects. We'll look at each of them, highlighting some of the pros and cons for each method.
|