MIC
Pat O'Sullivan
Department of Mathematics and Computer Studies
Mary Immaculate College, Limerick, Ireland

General Information

Student Resources and Information

Interests

The label command

Incorporate grapics and text in a "poem" (click refresh to see the animation again):


The main procedure is something like:
                                                              to limerick
                                                                 label [There was a young teacher from Clare]
                                                                 move
                                                                 wait 120
                                                                 label [Who once had a fine head of hair]
                                                                 move1
                                                                 hairy
                                                                 move2
                                                                 wait 120
                                                                 label [But the Grad Dip / M.Ed.]
                                                                 move
                                                                 wait 120
                                                                 label [Just did in her (his) head]
                                                                 move
                                                                 wait 120
                                                                 label [And now s/he is follicly bare.]
                                                                 move1
                                                                 baldy
                                                              end

The command wait is a Logo primitive. It takes a single number as input and, as the name suggests, pauses the procedure for an amount of time roughly equal to the number x sixtieth of a second. So wait 120 pauses the procedure by 2 seconds approx.

 
Department Home
Home
The information found on personal pages should not be considered official material from Mary Immaculate College and the College does not accept any responsibility for its accuracy or otherwise.