What to Do Before Writing Code

Because the functions you specified are stored within the Designer as text strings, a map is required to associate these names with the address of the function to be called. This mapping is done with a function list. The function list is generated from within the Designer by selecting the INTERFACE->Function list menu choice. See the Designer User's Guide for more information.

The function list is actually an array of structures. The structure used in the array has two members. The first structure member contains a text string holding the name of a function as read from the Designer form information. The second member of the structure is a pointer to a function. An element for the array is created for each function called from the form or menu fields.

You may also use the Designer's Main Generator to generate the prototype code that reads and processes the menu forms that you have created. To generate the prototype main(), select INTERFACE->Main program from the Designer menu.


Home Contents Previous Next