Berkeley Logo: Difference between revisions

From OLPC
Jump to navigation Jump to search
(link)
m (fix spelling error)
Line 21: Line 21:


[[Image:Berkeley Logo Screenshot.png|thumb|220px|Screenshot taken of Berkeley Logo v3 running on an XO, doesn't support Journal or a Sugarized UI yet, but does run quite well.]]
[[Image:Berkeley Logo Screenshot.png|thumb|220px|Screenshot taken of Berkeley Logo v3 running on an XO, doesn't support Journal or a Sugarized UI yet, but does run quite well.]]
When UCBLogo first starts up the screen is fully taken up by the interactive text input area. When you issue you're first graphic instruction the screen will automatically split into a graphic and text input area. Here's some simple example instruction to try, case is insensitive:
When UCBLogo first starts up the screen is fully taken up by the interactive text input area. When you issue your first graphic instruction the screen will automatically split into a graphic and text input area. Here's some simple example instruction to try, case is insensitive:


HELP "FORWARD
HELP "FORWARD

Revision as of 01:23, 23 September 2008

Ucblogo.png
GIT sources in [sourceforge]
OlpcProject.png Contact: User:bh —students at UC Berkeley

see more templates or propose new

Berkeley Logo (UCBLogo) is a free, GPL interpreter for the Logo programming language. It runs in an XO activity window, but isn't yet Sugarized in other ways, such as using the Journal.


Get the activity

File:Ucblogo-4.xo

Sourceforge svn repository

source

Quick graphical examples

Screenshot taken of Berkeley Logo v3 running on an XO, doesn't support Journal or a Sugarized UI yet, but does run quite well.

When UCBLogo first starts up the screen is fully taken up by the interactive text input area. When you issue your first graphic instruction the screen will automatically split into a graphic and text input area. Here's some simple example instruction to try, case is insensitive:

HELP "FORWARD

Now you know how to get help on a command:

FORWARD 100
RIGHT 90
FORWARD 100
RIGHT 90
FORWARD 100
RIGHT 90
FORWARD 100
RIGHT 90

Or for less typing use a repeat loop:

REPEAT 4 [FORWARD 100 RIGHT 90]

Or make it a procedure:

TO square
REPEAT 4 [FORWARD 100 RIGHT 90]
END

square

Re-edit a procedure you've created with:

EDIT "square

To wipe the graphics screen type:

CLEARSCREEN

User Documentation

As a plain ASCII text file:

usermanual

As nicely formatted HTML:

usermanual.html

As nice looking PDF:

usermanual.pdf

Internal Documentation

ucblogo-plm.txt