home *** CD-ROM | disk | FTP | other *** search
- \ SAMPLES.DOC Sample source file for TCOM by Tom Zimmer
-
- TCOM includes several example source files to illustrate various
- features available in TCOM, and to provide some utilities you might
- find useful. Here then is a list of the included files and their
- features:
-
- ALLSPECS A utility file, that builds a list of all
- on the disk given a starting directory.
- Used by LOOK.
-
- BANNER Displays messages on the screen in large
- letters, illustrates table creation.
-
- CARD A small card file program, uses BLOCK,
- pulldown MENUS, and the DOS SHELL feature of
- TCOM.
-
- CLOCK A nice visual clock program, does extensive
- cursor control.
-
- FILTER A file filter program, illistrates how to do
- use DOS's standard I/O to process a file, and
- direct the processed file out to another
- program of file. Also shows how to use
- buffered I/O to speed performance.
-
- LINES A simple graphics program, draws lines on the
- screen.
-
- LOOK A file scanner, searches files specified for
- a particular character sequence. Shows how to
- use LINEREAD, and perform various file
- operations. Can search many files VERY FAST.
- Needs ALLSPECS.SEQ to compile.
-
- MIDNIGHT The towers of hanoi example from Peter
- Midnight.
-
- PASCAL An updated implimentation of the TINY pascal
- compiler I (Tom Zimmer) wrote several years
- ago. This version translates the example file
- PASX.PAS into Forth source and displays the
- results on the console. you can also use I/O
- redirection to send output to a file. The
- resulting output file can then be TCOMed into
- a runable program. A very simple Pascal
- translator.
-
- PROMPTER An example of how to prompt the user for
- information, and then pass that information
- off to another program on the command line.
- Uses the DOS shell capability of TCOM.
-
- RS232IB An example that provides RS232 serial
- buffered I/O routines to either TCOM or F-PC.
- For TCOM, it turns into a very simple
- terminal program.
-
- SAMPLE The proverbial "Hello World" program, is an
- example of how to use some of the commandline
- options in TCOM, and how to make a very small
- program.
-
- SHELL A mini file shell, uses the popup file
- selection box and shells out to DOS to
- execute programs, or calls up the SZ editor
- to browse and edit files. Also shows how to
- minimize the memory usage of a program.
-
- TIMEIT Uses the TIMEIT functions to make a program
- that measures the execution time of a DOS
- commandline following TIMEIT on its DOS
- commandline.
-
- ZZ ZZ is a sort of shell program that can tie
- several disparit programs together into a
- workable environment. Essentially it uses a
- ZZ.CFG file to dictate what programs it works
- with, and uses the SZ or Z editor as a
- director that issues ZZ commands through a
- ZZ.CMD file to call other programs like
- compilers and debuggers with commandline
- parameters. See ZZ.TXT for a bit more
- information.
-
-
-