home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -seriously_amiga- / programming / basic / blitzsource / logo / logo.doc < prev   
Text File  |  1998-05-09  |  2KB  |  76 lines

  1.  
  2.                              Logo graphics
  3.                             ---------------
  4.  
  5.                               Discription
  6.                              -------------
  7.  
  8. Logo was designed to teach children the basics of programing and 
  9. simple mathematical shapes. It uses simple commands to move a cursor 
  10. on the screen in different directions procduceing simple shapes, it 
  11. can also be used as a tool for exploring fractal shapes useing 
  12. recursive programing.
  13.  
  14.                     Here are the list of commands:
  15.                    -------------------------------- 
  16.  
  17. Command: Forward{Steps}
  18. Description: Moves the cursor forward, each step is a pixel.
  19. Example: Forward{50} 
  20.  
  21. Command: Backward{Steps}
  22. Description: As forward but goes backwards.
  23. Example: Backward{50}
  24.  
  25. Command: Left{Degrees}
  26. Description: Rotates the cursor left useing degrees.
  27. Example: Left{90}
  28.  
  29. Command: Right{Degrees}
  30. Description: As left.
  31. Example: Right{90}
  32.  
  33. Command: Home{}
  34. Description: Moves the cursor to the centre of the screen pointing up.
  35. Example: Home{}
  36.  
  37. Command: Pen=On/Off
  38. Description: This when the pen if off the cursor can move without 
  39. drawing, this is used to position the cursor.
  40. Example: Pen=Off
  41.  
  42. Command: Pen_Colour=Colour
  43. Description: This changes the colour being used.
  44. Example: Colour=4
  45.  
  46. Command: #X_Size=On/Off
  47. Description: This must be at the start of each program, because some 
  48. screen modes when you draw on them produce squashed lines.
  49. Example:#X_Size=On
  50.  
  51. Command: #BitmapWidth=Width of bitmap
  52. Discription: This must be at the start of each program, it's used to 
  53. find the centre of the screen.
  54. Example: #BitmapHight=640
  55.  
  56. Command: #BitmapHight
  57. Description: As above but used to find the higth of the screen.
  58. Example: #BitmapHight=256
  59.  
  60.                            How to use logo.
  61.                           ------------------
  62.  
  63. The following lines must be enterd before you load the main program.
  64.  
  65. #X_Size=On/Off
  66. #BitmapWidth=640 
  67. #BitmapHight=256
  68. Include "Logo.bb"
  69.  
  70. Or just load Logo_empty where this is all ready done for you.
  71. Also note that all the commands are case sensitive.
  72.  
  73. If you have questions, comments or bug reports e-mail me:-
  74. krishna@sawh.u-net.com
  75.  
  76.