home *** CD-ROM | disk | FTP | other *** search
- We at Sub Rosa Publishing are pleased to enclose a set of demonstration
- programs. These programs have been prepared with two objectives in mind:
-
- 1. Illustrate important VP-Info commands and functions.
- 2. Provide starting points for your applications. Our examples
- range from simple to elaborate.
-
- A convenient way to examine these programs is to run the tutorial
- program SAMPLES, which will "walk" you through them. To run DEMOS
- enter VP-Info and then enter DO SAMPLES.
-
- MENU1.PRG: demonstrates the use of the MENU() function to choose between
- courses of action. One natural way to build applications is
- to lay out the menus and implement the options one at a time.
- MENU illustrates how to branch based not only on the selection
- made, but also on the key used to make the selection.
-
- MENU2.PRG: a more elaborate menu program with a more polished look,
- MENU2 also responds to the keystrokes used to choose from
- the menu.
-
- MENUSAVE.PRG: another menu program introducing two new features added to
- Info in 1992. Choices can be made by letter as well as number.
- Also, MENUSAVE features a time-out option which triggers a
- default choice after waiting a prescribed number of seconds
- for a user to make a choice.
-
- EDBROW.PRG: demonstrates the use of the EDIT and BROWSE commands.
- These commands are the basic methods to view data. Edit
- views a single record on the screen. BROWSE views several
- records, one line on the screen per record.
-
- ONFIELD.PRG: demonstrates the use of the ON FIELD structure to validate
- input and control the order of field entry.
-
- MEMBERS.PRG: a good starting point for your list maintenance programs-
- shows how to add new names and update current names on a list.
-
- SRILOGON.PRG: a sample start-up screen creates large letters out of
- rectangular blocks.
-
- DATES.PRG: illustrates the variety of date and time formats available.
-
- RELATION.PRG: sets up a simple relation between two data files.
-
- APPFROM.PRG: illustrates the APPEND FROM command.
-
- ONELABEL.PRG: a short program to print labels of any length (one across).
- This program can be used as is for simple label tasks.
-
- VECTOR.PRG: illustrates the technique of accessing data field by number
- rather than by name.
-
- FILTERCR.PRG: a sample program that reads ASCII files and writes out a
- modified form.
-
- BIT.PRG: illustrates bit arithmetic in VP-Info. Computer Science teachers
- will like this one.
-
- LAB_GEN.PRG: a more complex label program with lots of features.
-