home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / logo / powerlogo / utilities / turtle-shell.doc < prev    next >
Text File  |  1992-11-10  |  4KB  |  139 lines

  1.  
  2.    Turtle-Shell.doc
  3.  
  4. The 'Turtle-Shell' file provides the following menus:
  5.  
  6. LOGO           The system menu.
  7.  
  8.    Load           Load a LOGO program file. Gets a file name from the
  9.                   file requester.
  10.  
  11.    Save           This saves contents of all unprotected variables to a
  12.                   LOGO program file. Gets the file name from the file
  13.                   requester.
  14.  
  15.    Edit           Switch to text editor.
  16.  
  17.    Edit File      Edit a LOGO program file. Gets a file name from the
  18.                   file requester.
  19.  
  20.    Turtle off     Close the turtle graphics screen.
  21.  
  22.    Interrupt      Interrupt a program. This is like the break key (CTRL G)
  23.                   except you may continue by giving the command 'stop'.
  24.  
  25.    Top Level      Stop a program. This is similar to the break
  26.                   key (CTRL G).
  27.  
  28.    Quit           Exit from LOGO.
  29.  
  30. Picture        The turtle graphics menu.
  31.  
  32.    Load           Load picture.
  33.  
  34.    Save           Save picture.
  35.  
  36.    Pattern        Select line drawing pattern.
  37.       xxxxx          Fifteen line patterns to choose from.
  38.  
  39.    Mouse          Select mouse tool.
  40.       Draw           Draw with mouse.
  41.       Brush 7        Draw with larger brush.
  42.       LinkLine       Draw lines connected end to end.
  43.       OneLine        Draw one line (rubber band).
  44.       Ellipse        Draw ellipse.
  45.       Block          Filled rectangle.
  46.       Flood PC       Flood fill pixel color.
  47.       Flood OL       Flood fill to outline color.
  48.       Position       Set turtle position, heading, and size.
  49.       Record         Record doodle. This uses the turtle position, heading,
  50.                      and size as a reference.
  51.  
  52.    Action         Do something.
  53.       Home           Move turtle to home.
  54.       Clean          Erase picture without affecting turtle
  55.       Clear          Erase picture, home turtle.
  56.       HogMem         Tell LOGO to hold extra memory.
  57.       UnHogMem       Tell LOGO not to hold extra memory.
  58.       Recycle        Run the garbage colector.
  59.       PlayBack       Draw recorded doodle. This uses the turtle position,
  60.                      heading, and size as a reference.
  61.       MarkPos        Draw line showing the turtles position and size.
  62.       Text           Print text at current position.
  63.       Circle         Draw circle using turtle position and size.
  64.       Star 5         Draw star using turtle position and size.
  65.  
  66.    Pen            Set pen and draw modes.
  67.       Up             Raise the turtles pen.
  68.       Down           Lower the turtles pen.
  69.       JAM1           Set one color draw mode.
  70.       JAM2           Set two color draw mode.
  71.       COMP           Set complement mode.
  72.  
  73.    Windows        Open, move, or size windows.
  74.       Full           Full screen graphics.
  75.       Split          Split graphics and text.
  76.       Text           Full screen text.
  77.       Palette        Open palette tool.
  78.       Pen Color      Open pen mode tool.
  79.       Mouse          Open mouse tool box.
  80.       Action         Open action tool box.
  81.  
  82.    Colors         Change number of screen colors.
  83.       xx             Six modes 2 - 64 colors including extra half bright.
  84.  
  85.    Size           Change screen resolution.
  86.       xxxxx          Four sizes.
  87.  
  88. The 'Turtle-Shell' file provides the following procedures:
  89.  
  90.  
  91. addaction      tool-name run-list
  92.          tool-name = Word, menu text for this tool.
  93.          run-list = List of LOGO instructions.
  94.    Add a function to the 'Action' menu.
  95.    Example:    addaction "Square [ poly :size 4 ]
  96.  
  97. circle         size
  98.          size = Number, radius of circle.
  99.    Draw circle.
  100.  
  101. cs
  102.    Clear screen.
  103.  
  104. ct
  105.    Clear text.
  106.  
  107. endturtle
  108.    Close the turtle graphics screen.
  109.  
  110. fs
  111.    Full screen graphics.
  112.  
  113. playback       size recording
  114.          size = Number.
  115.          recording = List, doodle from 'record'.
  116.    Draw recorded doodle.
  117.  
  118. poly           size sides
  119.          size = Number, length of sides.
  120.          sides = Number of sides.
  121.    Draw polygon.
  122.  
  123. record
  124.    Output current doodle recording.
  125.  
  126. set-record     recording
  127.          recording = List, doodle from 'record'.
  128.    Set current doodle recording.
  129.  
  130. ss
  131.    Split screen.
  132.  
  133. ts
  134.    Full screen text.
  135.  
  136. turtle         ( view-modes bit-planes )
  137.    Prepare screen, window, and turtle for turtle graphics.
  138.  
  139.