home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
programming
/
basic
/
blitzsource
/
logo
/
logo.doc
< prev
Wrap
Text File
|
1998-05-09
|
2KB
|
76 lines
Logo graphics
---------------
Discription
-------------
Logo was designed to teach children the basics of programing and
simple mathematical shapes. It uses simple commands to move a cursor
on the screen in different directions procduceing simple shapes, it
can also be used as a tool for exploring fractal shapes useing
recursive programing.
Here are the list of commands:
--------------------------------
Command: Forward{Steps}
Description: Moves the cursor forward, each step is a pixel.
Example: Forward{50}
Command: Backward{Steps}
Description: As forward but goes backwards.
Example: Backward{50}
Command: Left{Degrees}
Description: Rotates the cursor left useing degrees.
Example: Left{90}
Command: Right{Degrees}
Description: As left.
Example: Right{90}
Command: Home{}
Description: Moves the cursor to the centre of the screen pointing up.
Example: Home{}
Command: Pen=On/Off
Description: This when the pen if off the cursor can move without
drawing, this is used to position the cursor.
Example: Pen=Off
Command: Pen_Colour=Colour
Description: This changes the colour being used.
Example: Colour=4
Command: #X_Size=On/Off
Description: This must be at the start of each program, because some
screen modes when you draw on them produce squashed lines.
Example:#X_Size=On
Command: #BitmapWidth=Width of bitmap
Discription: This must be at the start of each program, it's used to
find the centre of the screen.
Example: #BitmapHight=640
Command: #BitmapHight
Description: As above but used to find the higth of the screen.
Example: #BitmapHight=256
How to use logo.
------------------
The following lines must be enterd before you load the main program.
#X_Size=On/Off
#BitmapWidth=640
#BitmapHight=256
Include "Logo.bb"
Or just load Logo_empty where this is all ready done for you.
Also note that all the commands are case sensitive.
If you have questions, comments or bug reports e-mail me:-
krishna@sawh.u-net.com