Short from PENUP command
Answers
Answer:
PU is the short form of penup command......
Answer:This article introduces the idea of a procedure. Procedures allow you to save instructions in LOGO, creating primitives of your own, which you can use elsewhere. Once you have "taught " LOGO what the word "PATTERN" means - it will remember what to do whenever you type in "PATTERN". Providing you save your procedure at the end of you session you can call it up again the next time you wish to do some work.
Consider the following procedure:
TO PATTERN
REPEAT 12 [PU FD 60 PD REPEAT 4 [FD 45 RT 90]PU BK 60 LT 30]
END
What do you think is happening?
The command PU means Pen Up and PD means Pen Down.
Try tracing out the instructions step by step:
* You have something to do - 12 times!
* In doing that something you have to repeat something else 4 times!
Strange ...
Explanation: