home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / EDUCATIO / ROO10.ZIP / FILES.ZIP / PROGRAM.ROD < prev    next >
Encoding:
Text File  |  1992-01-21  |  3.5 KB  |  225 lines

  1. .DEMO
  2.  
  3.  
  4. @@@@@
  5. ET
  6. TB
  7. F3
  8. RT
  9. RT
  10. DN
  11. DN
  12. DN
  13. DN
  14. DN
  15. RT
  16. RT
  17. RT
  18. LF
  19. ET
  20. TB
  21. DN
  22. DN
  23. DN
  24. +This demo describes the programming mode of the Roo environment. Press any key.
  25. $
  26. +Press a key every time you have read a message in this line.
  27. $
  28. +Roo can execute three simple commands: HOP, STEP and TURN (left 90 degrees).
  29. $
  30. +If the cursor is outside the program sheet (like now)...
  31. $
  32. +...then commands are executed but not recorded.
  33. $
  34. +Look how Roo performs the commands.
  35. $
  36. +F1
  37. $
  38. +
  39. F1
  40. +      F2
  41. $
  42. +
  43. F2
  44. +             F3
  45. $
  46. +
  47. F3
  48. +The boy (named Chris) plays the role of a control device or a teacher.
  49. $
  50. +He explains to us what's going on when the computer performs our programs.
  51. $
  52. +It is a good job for 3-5 years old kids to draw pictures using Roo.
  53. $
  54. +The following picture was drawn by a 4 years old girl.
  55. $
  56. TB
  57. F4
  58. F1
  59. F3
  60. BS BS BS BS BS BS BS BS BS
  61. :house
  62. ET
  63. Y
  64. TB
  65. $
  66. +If the cursor is on the program sheet...
  67. $
  68. @ RT @
  69. +...you can write a program.
  70. $
  71. +You may use main algorithmic constructions: Branchings, Cyclings, Subroutines.
  72. $
  73. +It is very easy to type programs: you need only 9 functional keys.
  74. $
  75. +Let us type one program. Demo will show you the keys you should press.
  76. $
  77. +                     F4
  78. $
  79. F4
  80. +F1
  81. $
  82. F1
  83. +                                      F6
  84. $
  85. F6
  86. +F1
  87. $
  88. F1
  89. +      F2
  90. $
  91. F2
  92. +                                                                F9
  93. $
  94. F9
  95. +            F2
  96. $
  97. F2
  98. +                          F5
  99. $
  100. F5
  101. +             F3
  102. $
  103. F3
  104. +                                                                F9
  105. $
  106. F9
  107. +F1
  108. $
  109. F1
  110. +If you want to carry out your program or to use other utilities - press TAB.
  111. $
  112. TB
  113. +Look: the F-keys line has changed.
  114. $
  115. +Before performing the program, you may set an initial position for Roo with F3.
  116. $
  117. F3 @ DN @ DN @ DN @ DN @ DN @ RT @ RT @ HM @ HM @ ET @
  118. +You may now carry out your program (press F1).
  119. $
  120. +
  121. F1
  122. +You may trace the program step by step (with the help of Chris). Just press F2.
  123. $
  124. F2
  125. +             F3
  126. $
  127. +
  128. F3
  129. +             F3
  130. $
  131. +
  132. F3
  133. +             F3
  134. $
  135. +
  136. F3
  137. +To get the resulting picture quickly, press F5.
  138. $
  139. F5
  140. +Our 9 years old students in Lincoln (Nebraska) created complicated programs...
  141. $
  142. +...after the first three lessons devoted to Roo.
  143. $
  144. +We'll now give you a possibility to look at one of their products.
  145. $
  146. F4
  147. F1
  148. F1
  149. BS BS BS BS BS BS BS BS BS
  150. :forware
  151. ET
  152. Y
  153. +This is the picture drawn by this program:
  154. F4
  155. F1
  156. F3
  157. BS BS BS BS BS BS BS BS BS
  158. :forware
  159. ET
  160. Y
  161. $
  162. +Now you may look at the program. Press the PAGE DOWN key.
  163. $
  164. PD
  165. +    PAGE DOWN
  166. $
  167. PD
  168. +      PAGE DOWN
  169. $
  170.  
  171. PD
  172. +        PAGE DOWN
  173.  
  174. $
  175. PD
  176. +          PAGE DOWN
  177.  
  178. $
  179. PD
  180. +             PAGE DOWN
  181.  
  182. $
  183. PD
  184. +                PAGE DOWN
  185. $
  186. PD
  187. +It is a good job for 6-6O years old programmers to write programs for Roo.
  188. $
  189. +The next picture is drawn by a program written by a professional programmer...
  190. $
  191. +...after an hour of hard work. Let us load these picture and program.
  192. F4
  193. F1
  194. F3
  195. BS BS BS BS BS BS BS BS BS
  196. :square
  197. ET
  198. Y
  199. F4
  200. F1
  201. F1
  202. BS BS BS BS BS BS BS BS BS
  203. :square
  204. ET
  205. Y
  206. TB
  207. +Let us return to the top of the program sheet and look at the program.
  208. $
  209. PU PU PU PU PU PU PU PU PU
  210. +This programm can draw the biggest possible square on any sheet.
  211. $
  212. +We are trying, but still cannot shorten this program. Can you?
  213. $
  214. +Would you like to try? After this demo you may carry out our program.
  215. $
  216. +Good luck. In case you will need a quick help, press Ctrl+H
  217. $
  218. +         You may do it all:
  219. ^H
  220. $
  221. ET
  222. +If you want to look at the next demo, press Ctrl+F to exit. Bye for now.
  223. @@@@@@@@
  224. -
  225. %