The following example shows how to create a Quiz subfile. The KEEP command is not required. If the client does not issue the KEEP command the subfile will only be a valid file during the logon period and not accessible by any other person. When the client logs off the file will be gone. The client may also create indexed subfiles.
Indexing creates a direct key access into the subfile.
Indexed subfiles may be linked together. A maximum of 16 indexes may be specified. Indexed subfiles can be linked together. The following is an example of linking 2 indexed subfiles. Test the program with Quiz.