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:

  1. 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

  2. Enter the Visual PRO/5 code to be executed immediately before going into the event loop.