목차
Reference Variables
Instantiating Windows
Instantiating Windows
본문내용
A reference variable is a pointer to an instance of an object
Used for referencing the object in scripts
Reference variables can be:
Assigned to another reference variable
Used to qualify methods and properties
Uses a reference variable that has been explicity declared to instantiate as window
w_cust lw_cust
Open(lw_cust)
PowerBuilder:
Determines the class definition exists in a PBL
Creates an instance of the window class
Uses the local reference variable name
Populates the local reference variable with a pointer to the instance
Declare a reference variable from a class data type.
Use a reference variable to address an instance of an object class.
Open windows using the Open( ) function.
Open multiple instances of a window type using a local reference variable.
Used for referencing the object in scripts
Reference variables can be:
Assigned to another reference variable
Used to qualify methods and properties
Uses a reference variable that has been explicity declared to instantiate as window
w_cust lw_cust
Open(lw_cust)
PowerBuilder:
Determines the class definition exists in a PBL
Creates an instance of the window class
Uses the local reference variable name
Populates the local reference variable with a pointer to the instance
Declare a reference variable from a class data type.
Use a reference variable to address an instance of an object class.
Open windows using the Open( ) function.
Open multiple instances of a window type using a local reference variable.