home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / forth / compiler / fpc / samples.doc < prev    next >
Text File  |  1990-07-02  |  4KB  |  88 lines

  1. \ SAMPLES.DOC           Sample source file for TCOM     by Tom Zimmer
  2.  
  3.   TCOM includes several example source files to illustrate various
  4. features available in TCOM, and to provide some utilities you might
  5. find useful. Here then is a list of the included files and their
  6. features:
  7.  
  8.         ALLSPECS        A utility file, that builds a list of all
  9.                         on the disk given a starting directory.
  10.                         Used by LOOK.
  11.  
  12.         BANNER          Displays messages on the screen in large
  13.                         letters, illustrates table creation.
  14.  
  15.         CARD            A small card file program, uses BLOCK,
  16.                         pulldown MENUS, and the DOS SHELL feature of
  17.                         TCOM.
  18.  
  19.         CLOCK           A nice visual clock program, does extensive
  20.                         cursor control.
  21.  
  22.         FILTER          A file filter program, illistrates how to do
  23.                         use DOS's standard I/O to process a file, and
  24.                         direct the processed file out to another
  25.                         program of file. Also shows how to use
  26.                         buffered I/O to speed performance.
  27.  
  28.         LINES           A simple graphics program, draws lines on the
  29.                         screen.
  30.  
  31.         LOOK            A file scanner, searches files specified for
  32.                         a particular character sequence. Shows how to
  33.                         use LINEREAD, and perform various file
  34.                         operations. Can search many files VERY FAST.
  35.                         Needs ALLSPECS.SEQ to compile.
  36.  
  37.         MIDNIGHT        The towers of hanoi example from Peter
  38.                         Midnight.
  39.  
  40.         PASCAL          An updated implimentation of the TINY pascal
  41.                         compiler I (Tom Zimmer) wrote several years
  42.                         ago. This version translates the example file
  43.                         PASX.PAS into Forth source and displays the
  44.                         results on the console. you can also use I/O
  45.                         redirection to send output to a file. The
  46.                         resulting output file can then be TCOMed into
  47.                         a runable program. A very simple Pascal
  48.                         translator.
  49.  
  50.         PROMPTER        An example of how to prompt the user for
  51.                         information, and then pass that information
  52.                         off to another program on the command line.
  53.                         Uses the DOS shell capability of TCOM.
  54.  
  55.         RS232IB         An example that provides RS232 serial
  56.                         buffered I/O routines to either TCOM or F-PC.
  57.                         For TCOM, it turns into a very simple
  58.                         terminal program.
  59.  
  60.         SAMPLE          The proverbial "Hello World" program, is an
  61.                         example of how to use some of the commandline
  62.                         options in TCOM, and how to make a very small
  63.                         program.
  64.  
  65.         SHELL           A mini file shell, uses the popup file
  66.                         selection box and shells out to DOS to
  67.                         execute programs, or calls up the SZ editor
  68.                         to browse and edit files. Also shows how to
  69.                         minimize the memory usage of a program.
  70.  
  71.         TIMEIT          Uses the TIMEIT functions to make a program
  72.                         that measures the execution time of a DOS
  73.                         commandline following TIMEIT on its DOS
  74.                         commandline.
  75.  
  76.         ZZ              ZZ is a sort of shell program that can tie
  77.                         several disparit programs together into a
  78.                         workable environment. Essentially it uses a
  79.                         ZZ.CFG file to dictate what programs it works
  80.                         with, and uses the SZ or Z editor as a
  81.                         director that issues ZZ commands through a
  82.                         ZZ.CMD file to call other programs like
  83.                         compilers and debuggers with commandline
  84.                         parameters. See ZZ.TXT for a bit more
  85.                         information.
  86.  
  87.  
  88.