home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / LANGUAGS / PILOT80 / PILOT80.LBR / PILOT80.DZC / PILOT80.DOC
Text File  |  2000-06-30  |  7KB  |  143 lines

  1. .po 8
  2.                  --- PILOT/80 DOCUMENTATION ---
  3.  
  4.     Program and text from Remark magazine, issue 39, page 28.
  5.  Article by Kurt Albrecht.  This file edited by Aaron Contorer.
  6.  
  7. PILOT/80  (Programmed  Inquiry,  Learning,  Or Teaching) was  the 
  8. first  computer language dedicated to Computer-Aided  Instruction 
  9. (CAI).  Developed  in  1969 by John  Starkweather,  it  has  been 
  10. implemented  on  mainframes  down  to  micros.  This  interactive 
  11. language  enables  a  person with very little  previous  computer 
  12. experience to construct and run sim simple structure and  syntax, 
  13. it has proven to be an excellent starter languag language for the 
  14. novice programmer.  The average person can be writting functional 
  15. functional programs in about an hour after learning the language.
  16.  
  17. Using  PILOT,  a  teacher  can present a student with  a  reading 
  18. passage,  give  him time to study it,  and then ask him  multiple 
  19. choice,  fill-in-the-blank,  or true-false questions. The program 
  20. can include responses keyed to the student's answer,  and thus it 
  21. can  give comment or advice to the student.  It can  introduce  a 
  22. mathematical  problem  and offer the solution on  a  step-by-step 
  23. basis  or give the student an opportunity to discover as many  of 
  24. the  steps  as he can,  with hints from the computer  if  needed. 
  25. However,  PILOT  is  a word and letter  language,  not  a  number 
  26. cruncher.
  27.  
  28. PILOT/80 is a full implementation of the PILOT language. PILOT/80 
  29. uses line numbers to identify individual program lines.  Not  all 
  30. versions  of PILOT do however.  Line numbers are used for editing 
  31. purposes only and are never used to branch within a program. They 
  32. also  painlessly  prepare the novice the  novice  programmer  for 
  33. languages such as BASIC.
  34.  
  35. Some  versions  of PILOT require the programmer to write  his/her 
  36. program with a text editor. But PILOT/80 contains its own editor, 
  37. as  well  as disk handling functions,  and full  error  reporting 
  38. capabilities  that  explain  in plain English what the  user  did 
  39. wrong.
  40.  
  41. A text editor may be used to write PILOT programs.  But remember, 
  42. the PILOT/80 editor will catch most all errors as the program  is 
  43. being typed in. If you use a text editor, do not use line numbers 
  44. (PILOT/80 automatically numbers a program upon loading), type all 
  45. program  lines in uppercase except those with the command  T:  or 
  46. R:, and use the filename extension .PIL.
  47.  
  48.                      --- DIRECT COMMANDS ---
  49. When   PILOT/80.BAS   is   loaded   and   run   a   prompt   will 
  50. appear,  (Request?).  This  prompt tells you that you are at  the 
  51. command   level   and  that  the  computer   is   awaiting   your 
  52. instructions.
  53. .pa
  54. NEW--Erases any program memory and prints the line number 1.  The 
  55. computer then waits for the programmer to input.  Upon receipt of 
  56. a  carriage return,  the computer will jump to the next line  and 
  57. print  the  next line number.  This process continues  until  the 
  58. programmer types the word 'DONE' following a line number.
  59.  
  60. LIST--Displays the program memory,  line by line.  If there is no 
  61. program  in  the  memory,  the  computer  ignores  this  command. 
  62. Sections  of the program memory may be listed,  as may individual 
  63. lines. To list from one line number to another, type the two line 
  64. numbers after the command 'LIST',  separating them with a hyphen. 
  65. To list from one line line number to the end of the program, type 
  66. the  line  number after the command 'LIST' and follow it  with  a 
  67. hyphen.   To  list  an  individual line,  type  the  line  number 
  68. following the command 'LIST'.  Examples:
  69. LIST      --List the entire program LIST 1-5
  70. LIST 1-5  --List  from line one to line five LIST 5-
  71. LIST 5    --List from line five to the end of the program
  72. LIST 5    --List just line five
  73.  
  74. EDIT--Gives  the  programmer the ability to re-write  a  program 
  75. line  that  is  already in the program  memory.   A  line  number 
  76. follows the command 'EDIT'.  The computer prints this line,  then 
  77. jumps to the next line where it prints the line number and  waits 
  78. for the programmer to type in the new program line.  Upon receipt 
  79. of  a  carriage return,  the computer will jump to the next  line 
  80. where it prints the next line number.This process continues until 
  81. the programmer types the word 'DONE' following a line number.
  82.  
  83. INSERT--Inserts a new program line into the program  memory.  The 
  84. new  line  number should follow the command 'INSERT'.  All  lines 
  85. after  the inserted line are moved down one line in  the  program 
  86. memory.
  87.  
  88. DELETE--Deletes a program line from the program memory.  The line 
  89. number  to  be deleted should follow the  command  'DELETE'.  All 
  90. lines  following  the deleted line are moved up one line  in  the 
  91. program memory.
  92.  
  93. RUN--Executes a program if there is one in the program memory. If 
  94. there  is not a program in the memory,  the computer will  ignore 
  95. the command. The program may be executed from any program line by 
  96. typing the desired starting line number after the command 'RUN'.
  97.  
  98. SAVE--Saves  the  program  presently in the program  memory  onto 
  99. disk.  A file name must follow the command 'SAVE'. This file name 
  100. is  in  the format [d:]<filename>[.ext].   The extension  of  all 
  101. PILOT files is .PIL. The extension is optional; if you don't type 
  102. it the computer will.
  103. .pa
  104. LOAD--Loads  a program from disk into memory.  This command  will 
  105. erase  whatever was in the program memory,  so make sure this  is 
  106. what  you  want  to do before you  do  something  you'll  regret! 
  107. Filenames are specified as with the 'SAVE' command.
  108.  
  109. BYE--Exits PILOT/80 and returns to the operating system.
  110.  
  111. .po 4
  112.                          PILOT/80 Command Syntax
  113.  
  114. PILOT/80 Command    Function        MBASIC Equivalent
  115. -------------------------------------------------------------------------
  116. NEW            Enter a new program        NEW
  117. EDIT            Edit a program line        EDIT
  118. INSERT            Insert a line(s) into the    Line numbers
  119.                 program
  120. DELETE            Delete a line(s) from the    DELETE
  121.                 program
  122. LIST            Display program            LIST
  123. LLIST            Make a hardcopy listing        SAVE "LP:",A
  124. SAVE            Store program on diskette    SAVE
  125. LOAD            Retrieve program from diskette    LOAD
  126. BYE            Return to (Disk operating Syst)    SYSTEM
  127. T:            Type                PRINT
  128. A:<Variable>        Ask for keyboard input        LINE INPUT
  129. I:<Variable>        Input a single character    INPUT$(1)
  130. M:<List>        Match (Set Y/N logic flag)    IF-THEN-ELSE
  131. J:<Label>        Jump                GOTO
  132. U:<Label>        Jump to a User subroutine    GOSUB
  133. E:            End user subroutine / program    RETURN / END
  134. R:            Remark                REM
  135. S:            Screen functions        Graphic codes
  136.  
  137. <Op>Y:            Do operation if logic flag is Yes
  138. <Op>N:            Do operation if logic flag is No
  139. :            Repeat last operation
  140.  
  141. $<1-10 letters>        String variable (10 max.)    <Variable>$
  142. *<1-10 characters>    Label for J: and U:        Line numbers
  143.