home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / euphoria / demo.doc < prev    next >
Text File  |  1994-03-09  |  4KB  |  108 lines

  1.  
  2.         DEMO Programs Written in Euphoria
  3.         ---------------------------------
  4.  
  5.  This directory contains a number of example programs written in Euphoria.
  6.  These programs are being contributed to the Public Domain by 
  7.  Rapid Deployment Software. You are encouraged to modify and redistribute
  8.  any of these programs. These programs are not the best that you can do in 
  9.  Euphoria. They are intended merely as examples to aid your understanding of
  10.  how the language works. We hope you will come up with something much better.
  11.  To run any of them type 'ex' followed by the file name. 
  12.  
  13.  If you are in Windows, and you have associated .ex files with ex.exe, you 
  14.  can simply double-click to run any .ex file. A few of the simpler
  15.  programs expect to be run from the command line and they will terminate
  16.  immediately after displaying something.
  17.  
  18.  You can view and modify these programs using any editor, but we recommend 
  19.  using the Euphoria editor, ed, so you can get color syntax highlighting. 
  20.  
  21.  -----------------------------------------------------------------------------
  22.  Note: If you have trouble running any of the graphics oriented programs, try
  23.  changing the line that says: 
  24.     constant GRAPHICS_MODE = 261  -- SVGA
  25.  to: 
  26.     constant GRAPHICS_MODE = 18   -- VGA
  27.  This will provide VGA resolution, and is less likely to cause problems.
  28.  See include\graphics.e for other possible graphics modes.
  29.  -----------------------------------------------------------------------------
  30.  
  31.  NAME      DESCRIPTION
  32.  ----      -----------
  33.  
  34.  allsorts.ex - comparison of different sorting algorithms
  35.           - which is the fastest sorting algorithm in Euphoria?
  36.  
  37.  animal.ex - guess the animal game
  38.        - let the computer guess which animal you are thinking of
  39.        - it learns about animals as you play
  40.  
  41.  buzz.ex   - "buzzword" generator - Try adding your own phrases.
  42.  
  43.  callmach.ex - an example of calling machine code from Euphoria
  44.  
  45.  dice.ex   - rolls dice and displays results as a bar graph
  46.  
  47.  example.ex   - example merge_sort program from the reference manual
  48.  ex.pro       - ex.pro is created when you run example.ex. It contains 
  49.             the profile output for example.ex.
  50.  
  51.  mouse.ex  - simple demo of get_mouse() built-in function
  52.        - you need DOS mouse support for this
  53.  
  54.  mset.ex   - Mandelbrot Set generator
  55.            - Press Enter to choose a region of the M-set to zoom in on
  56.        - 'q' to quit
  57.        - your picture is saved in a file
  58.  
  59.  mydata.ex - a simple database program 
  60.  
  61.  plot3d.ex - 3-D surface plotting of functions 
  62.        - add in your own function of x and y, and see it plotted
  63.        - Press Enter to move on to the next sample function
  64.  
  65.  polygon.ex - displays interesting polygon patterns
  66.         - hit space bar to see a new pattern
  67.  
  68.  queens.ex - solves the N queens problem - how to place N queens on an NxN
  69.          chess board so they do not attack each other (N = 8 for a
  70.          standard board)
  71.  
  72.  sanity.ex - this program tests hundreds of features of Euphoria, in a quick,
  73.          self-test. If this program reports "PASSED" then Euphoria is
  74.          working on your machine. If not, there may be something wrong.
  75.  
  76.  sb.ex  - bouncing balls screen blank program 
  77.  
  78.  simple.ex - compiled "with trace" so you can see a program execute
  79.          by hitting Enter for each statement. Just Press down on
  80.          the Enter key.
  81.  
  82.  ttt.ex  - 3-dimensional tic tac toe
  83.          - try to get 4 in a row, on any plane or 1 per plane
  84.          - play against "DEFENDO" or "AGGRESSO" or a human, or
  85.        watch the AGGRESSO and DEFENDO algorithms slug it out
  86.      - you need DOS mouse support for this
  87.  
  88.  wire.ex - 3-D wire frame demo of the big 'E' in Euphoria
  89.      - hit space bar to freeze/restart the display
  90.      - Enter to quit
  91.  
  92.  bench directory   - contains benchmark programs for comparing Euphoria
  93.              against QBasic. Don't take our word for it! - see
  94.              how fast Euphoria is on your machine
  95.  
  96.  langwar directory - contains a real-time star wars type game
  97.            - read lw.doc, ex lw
  98.  
  99.  learn directory   - learn.ex - quizzes you on your knowledge of Euphoria
  100.                  gives you some programming exercises and checks them for 
  101.                  correctness
  102.  
  103. --------------------------------------------------------------------
  104. -- See the .ex files themselves for more details.
  105. -- You can view them with:   ed filename.ex
  106. --------------------------------------------------------------------
  107.  
  108.