home *** CD-ROM | disk | FTP | other *** search
/ Transactor / Transactor_08_1985_Transactor_Publishing.d64 / information83nov < prev    next >
Text File  |  2023-02-26  |  5KB  |  166 lines

  1. COMAL FOR THE COMMODORE 64
  2.  
  3. Welcome to COMAL, the language designed
  4. to replace BASIC.
  5.  
  6. This information is as of November  25,
  7. 1983 and is subject to change.
  8.  
  9. COMAL TODAY newsletter  is  the  source
  10. for up to date information about COMAL,
  11. as  well  as  many  helpful  hints  and
  12. tutorial articles. Contributors to this
  13. newsletter  include  Borge  Christensen
  14. (founder  of   COMAL),   UniComal   Aps
  15. (Authors of all CBM COMAL systems), and
  16. Len Lindsay (author of COMAL HANDBOOK).
  17. It is  published  by  the  COMAL  Users
  18. Group (USA) for $14.95.
  19.  
  20. The COMAL HANDBOOK is  meant  to  be  a
  21. complete reference for all versions  of
  22. CBM COMAL. This book  is  published  by
  23. Reston Publishing (1-800-336-0338).  It
  24. retails  for  about   $18.95   and   is
  25. available  through  most   large   book
  26. stores, such as B. Daltons, or from the
  27. COMAL Users Group (USA).
  28.  
  29. The CAPTAIN COMAL series  of  book/disk
  30. packages are meant to be  tutorials  to
  31. modular  programming  with  COMAL.  The
  32. first, CAPTAIN COMAL GETS ORGANIZED, is
  33. available from the  COMAL  Users  Group
  34. for $19.95 (including book and disk).
  35.  
  36. CBM COMAL version  0.14  on  this  disk
  37. includes added  graphics,  turtle,  and
  38. sprite commands. Also the keywords KEY$
  39. and PRINT USING are included. Otherwise
  40. COMAL HANDBOOK  first  edition  can  be
  41. used as  reference  for  version  0.14.
  42. (Whenever  the  book  mentions  version
  43. 0.12, just replace it with  0.14).  The
  44. only difference  is  in  selecting  the
  45. output  location.  Version  0.12   used
  46. SELECT OUTPUT "LP"  and  SELECT  OUTPUT
  47. "DS". Version 0.14 uses  SELECT  OUTPUT
  48. "LP:"  and  SELECT  OUTPUT  "DS:".  The
  49. colon is now required, allowing  it  to
  50. be compatible with  the  advanced  file
  51. handling system employed by the version
  52. 2.00 cartridge due for  release  Spring
  53. 1984.
  54.  
  55. The  graphics,   sprite,   and   turtle
  56. commands will be documented by the book
  57. COMMODORE 64 GRAPHICS  AND  SOUND  WITH
  58. COMAL  to  be   published   by   Reston
  59. Publishing Summer 1984. A brief summary
  60. of  all  these   added   commands   and
  61. statements are  included  in  the  data
  62. file on this disk called  INSTRUCTIONS.
  63. Run  the  program  SEE'INSTRUCTIONS  to
  64. read about them. It lists all the words
  65. with their correct syntax.
  66.  
  67. There are two ways to store programs on
  68. the disk, and two corresponding ways to
  69. retrieve them:
  70.  
  71. SAVE "NAME"
  72. This saves the program currently in the
  73. computer onto disk  as  a  binary  file
  74. with  the  name  you  specified  inside
  75. quotes. It can be retrieved  via  LOAD,
  76. but only with an exact same  CBM  COMAL
  77. version.
  78.  
  79. LIST "NAME.L"
  80. This  stores the program  currently  in
  81. the computer onto disk as an ASCII file
  82. with  the  name  you  specified  inside
  83. quotes (we suggest  that  you  end  the
  84. file name with a .L to remind you later
  85. that the file is a LIST file). The file
  86. is a bit larger than the  same  program
  87. stored via SAVE.  However,  this  ASCII
  88. file has many additional uses.  It  can
  89. be retrieved by ANY CBM COMAL  version.
  90. It can be merged with  another  program
  91. at a later time.  It  can  be  read  by
  92. another  program   using   INPUT   FILE
  93. statements.
  94.  
  95. LOAD "NAME"
  96. This will  erase  the  current  program
  97. first, then will retrieve  the  program
  98. stored  on  disk  with  the  name   you
  99. specified inside quotes.  Then  to  run
  100. the program issue the RUN command.
  101.  
  102. CHAIN "NAME"
  103. This is similar to  the  LOAD  command,
  104. but  the  program  will  LOAD  and  RUN
  105. automatically.
  106.  
  107. ENTER "NAME.L"
  108. This will merge the program or  program
  109. segment  from   disk   with   the   one
  110. currently in the computer (remember the
  111. suggested .L at the  end  of  the  file
  112. name).  Line  numbers  are  significant
  113. during this process in version 0.14. If
  114. a line is  ENTERed  with  a  same  line
  115. number as one already existing  in  the
  116. computer, the previous line is  deleted
  117. and the new line ENTERed  replaces  it.
  118. To avoid this problem, simply  RENUMber
  119. a program or program  segment  to  high
  120. line number before LISTing it  to  disk
  121. (ie, RENUM 8000). To retrieve  a  whole
  122. program, issue the NEW  command  first,
  123. then the ENTER command.
  124.  
  125. To list the program  currently  in  the
  126. computer to the printer:
  127. SELECT OUTPUT "LP:"
  128. LIST
  129.  
  130. To see what is on your disk:
  131. CAT
  132.  
  133. SPECIAL NOTE:
  134. Due to a peculiarity in the C64  serial
  135. IEEE to disk  and  printer  you  cannot
  136. select output to printer and then do  a
  137. CAT. But the COMAL  USERS  GROUP  (USA)
  138. has provided you a way to print a  disk
  139. directory on the printer bypassing this
  140. problem.   Try   the   program   called
  141. "PRINT'DIRECTORY".
  142.  
  143. NOTE ON OLD COMAL 0.12 PROGRAMS
  144. Programs written for version 0.12  will
  145. run on version 0.14. But LIST  them  to
  146. disk from version 0.12 and  ENTER  them
  147. into 0.14. The LOAD/SAVE files are  not
  148. completly compatible and could lock out
  149. your system.
  150.  
  151. Do NOT try to LOAD a BASIC program file
  152. into COMAL. COMAL gets upset.
  153.  
  154. ======================================
  155. COMAL Users Group (USA)
  156. 5501 Groveland Terrace
  157. Madison, WI  53716
  158.  
  159. (608) 222-4432
  160.  
  161. Include $2 Shipping/Handling with every
  162. order. Or send a self addressed stamped
  163. envelope for more  information.  Prices
  164. listed are subject to change.
  165.  
  166.