home *** CD-ROM | disk | FTP | other *** search
- !********
- !*
- !* AITOOLS.IPF This is the program which handles all of the
- !* Information Management demonstration programs.
- !* Note: this is a sample only. The actual AITOOLS
- !* being executed is contained in library GDEMO.ILF
- !*
- !********
- load intro /* These forms were saved with the "f" option. */
- use empinfo /* Use tables EMPINFO and DEPTINFO */
- use deptinfo
- default is empinfo /* The default table is EMPINFO */
- e.serr = true /* Supress error message (for the next command) */
- calc stop /* In case there is a spreadsheet, purge it */
- while true do
- doaitool = ""
- putform aitools /* Information Management menu */
- getform aitools
- clear
- test doaitool
- case "1": perform tabledef ;break /* Table definitions */
- case "2": perform listum ;break /* Data retrieval */
- case "3": perform spreadit ;break /* Spreadsheets */
- case "4": perform ggraph ;break /* Graphics */
- case "5": perform gtext ;break /* Text processing */
- case "6": perform formrept ;break /* Forms and Templates */
- case "7": perform remtcomm ;break /* Remote communication */
- case "8": putform mouseit
- askkey ;break
- case "9": release aitools;release mouseit
- finish empinfo;finish deptinfo /* Close files */
- return; break
- endtest
- endwhile