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 >
Wrap
Text File
|
1992-11-10
|
4KB
|
139 lines
Turtle-Shell.doc
The 'Turtle-Shell' file provides the following menus:
LOGO The system menu.
Load Load a LOGO program file. Gets a file name from the
file requester.
Save This saves contents of all unprotected variables to a
LOGO program file. Gets the file name from the file
requester.
Edit Switch to text editor.
Edit File Edit a LOGO program file. Gets a file name from the
file requester.
Turtle off Close the turtle graphics screen.
Interrupt Interrupt a program. This is like the break key (CTRL G)
except you may continue by giving the command 'stop'.
Top Level Stop a program. This is similar to the break
key (CTRL G).
Quit Exit from LOGO.
Picture The turtle graphics menu.
Load Load picture.
Save Save picture.
Pattern Select line drawing pattern.
xxxxx Fifteen line patterns to choose from.
Mouse Select mouse tool.
Draw Draw with mouse.
Brush 7 Draw with larger brush.
LinkLine Draw lines connected end to end.
OneLine Draw one line (rubber band).
Ellipse Draw ellipse.
Block Filled rectangle.
Flood PC Flood fill pixel color.
Flood OL Flood fill to outline color.
Position Set turtle position, heading, and size.
Record Record doodle. This uses the turtle position, heading,
and size as a reference.
Action Do something.
Home Move turtle to home.
Clean Erase picture without affecting turtle
Clear Erase picture, home turtle.
HogMem Tell LOGO to hold extra memory.
UnHogMem Tell LOGO not to hold extra memory.
Recycle Run the garbage colector.
PlayBack Draw recorded doodle. This uses the turtle position,
heading, and size as a reference.
MarkPos Draw line showing the turtles position and size.
Text Print text at current position.
Circle Draw circle using turtle position and size.
Star 5 Draw star using turtle position and size.
Pen Set pen and draw modes.
Up Raise the turtles pen.
Down Lower the turtles pen.
JAM1 Set one color draw mode.
JAM2 Set two color draw mode.
COMP Set complement mode.
Windows Open, move, or size windows.
Full Full screen graphics.
Split Split graphics and text.
Text Full screen text.
Palette Open palette tool.
Pen Color Open pen mode tool.
Mouse Open mouse tool box.
Action Open action tool box.
Colors Change number of screen colors.
xx Six modes 2 - 64 colors including extra half bright.
Size Change screen resolution.
xxxxx Four sizes.
The 'Turtle-Shell' file provides the following procedures:
addaction tool-name run-list
tool-name = Word, menu text for this tool.
run-list = List of LOGO instructions.
Add a function to the 'Action' menu.
Example: addaction "Square [ poly :size 4 ]
circle size
size = Number, radius of circle.
Draw circle.
cs
Clear screen.
ct
Clear text.
endturtle
Close the turtle graphics screen.
fs
Full screen graphics.
playback size recording
size = Number.
recording = List, doodle from 'record'.
Draw recorded doodle.
poly size sides
size = Number, length of sides.
sides = Number of sides.
Draw polygon.
record
Output current doodle recording.
set-record recording
recording = List, doodle from 'record'.
Set current doodle recording.
ss
Split screen.
ts
Full screen text.
turtle ( view-modes bit-planes )
Prepare screen, window, and turtle for turtle graphics.