home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_oth / comal.lzh / COMAL / INFOTEXT / PROGRAMENTRY < prev    next >
Encoding:
Text File  |  1991-08-16  |  920 b   |  35 lines

  1. HOW TO ENTER PROGRAMS
  2.  
  3. Line numbers are required for YOUR benefit in
  4. editing a program (but are irrelevant to a
  5. RUNNING program). Thus line numbers usually are
  6. omitted when listing a COMAL program. It is up to
  7. YOU to provide the line numbers. Of course, COMAL
  8. CAN DO IT FOR YOU. Follow these steps to enter a
  9. COMAL program:
  10.  
  11. 1) Enter command: NEW
  12.  
  13. 2) Enter command: AUTO
  14.  
  15.     3) Type in the program.
  16.  
  17. 4) When done, stop the AUTO mode:
  18.  
  19.    Press the <Esc> key
  20.  
  21. You may use both UPPER and lower case letters
  22. while entering a program. COMAL automatically
  23. makes keywords UPPER case and variable names
  24. lower case.
  25.  
  26. You don't have to type leading spaces in a line.
  27. They are listed only to emphasize structures, and
  28. COMAL will insert them for you. You DO have to
  29. type a space between keywords in the program.
  30.  
  31. Variable names, procedure names, and function
  32. names can be a combination of:
  33.  
  34. abcdefghijklmnopqrstuvwxyz0123456789'_][\
  35.