When you have multiple memory files and each is associated to its own window, you can have the memory files displayed on the screen one at a time or simultaneously.
To browse through each memory file, simply call mf_browse() for the memory file you wanted displayed. When the user exits or quits from mf_browse(), the next window and memory file can be called up.
To display several memory files simultaneously, you need to display each window with its associated memory file. Windows opened onto memory files can overlap one another without creating problems. See Chapter 23, "About Windows," for more information.
Multiple files and windows can be managed by using arrays of structures to define the windows and memory files. For example, you can define an array wn[ ], which contains pointers to window structures, and an array mfp[ ], which contains pointers to different memory files. Standard subroutines then manage different windows and files by using different index values in wn[ ] and mfp [ ].