home *** CD-ROM | disk | FTP | other *** search
-
- A CODE GENERATOR PACKAGE FOR DATA ENTRY SCREENS - by William Weber
-
- With a text editor or word processor you can lay out a data entry screen,
- then process it into an include file for use in you Turbo Pascal or Turbo
- C program.
-
-
- SCRCODEP.EXE
- For the Turbo Pascal programmer, this reads a 25-line X 80-column text file and
- generates the Turbo Pascal code as GoToXY and Write statements to display it.
-
- SCRCODEC.EXE
- For the Turbo C programmer, this reads a 25-line X 80-column text file and
- generates the Turbo C code as gotoxy() and cprintf() statements to display it.
-
- TEST.SCR - Sample input file for a screen
-
- TEST.ENT - Sample input file with entry fields defined
-
- TEST.INC - Turbo Pascal include file, generated from TEST.SCR and TEST.ENT.
-
- TEST.H - Turbo C include file, generated from TEST.SCR and TEST.ENT.
-
-
- SUGGESTIONS
- There are packages for about $100 and more for building screens for data
- entry. Using this package you can do much the same in the following way:
-
- 1. Create the data entry design with a text editor or word processor,
- including enough spcae for each entry field. Be sure to stay within the bounds
- of a single screen. Save your work in ASCII format under a filename such as
- "MYSCREEN.SCR". (Make sure extension is ".SCR".)
-
- 2. Re-edit, filling in the entry fields with some character such as "#".
- Save this as "MYSCREEN.ENT". (The filename body must be the same as the
- previous one, with the extension changed to ".ENT".)
-
- 3. Execute SCRCODEP to generate the Turbo Pascal include file MYSCREEN.INC
- scrcodep myscreen
-
- or execute SCRCODEP for the Turbo C include file MYSCREEN.H
- scrcodec myscreen
-
- 4. For further ideas, refer to the sample files in this package.
-
-
- For questions about SCRCODEP or SCRCODEC, contact
-
- William Weber
- 11A Banks Street
- Waltham, MA 02154
- (617) 891-5608
-
-