Defining Initialization Code
To define the code to be executed immediately before the event loop (such as opening data files, defining record templates, and initializing global variables), do the following:
- 
                                                    
Do one of the following:
- 
                                                            
On the Program menu, select Initialization.
 - 
                                                            
On the toolbar, click the Edit Subroutine button, then select Initialization from the list.
 - 
                                                            
Click the drop down arrow of the Object list box and select Init Code
 
 - 
                                                            
 - 
                                                    
Enter the Visual PRO/5 code to be executed immediately before going into the event loop.