kids encyclopedia robot

Image: LogoRecursiveSpiral

Kids Encyclopedia Facts
LogoRecursiveSpiral.jpg(137 × 151 pixels, file size: 5 KB, MIME type: image/jpeg)

Description: Logo Example - illustrating the logo program to spiral :size if  :size > 30 [stop] ; a condition stop fd :size rt 15  ; many lines of action spiral :size *1.02  ; the tailend recursive call end spiral 10 Here a new word spiral is defined (with a parameter) in the definition, the word calls itself with a different parameter. On the stop conmdition, the inner most word breaks out, and each calling word continues with the next command- also a break.
Title: LogoRecursiveSpiral
Credit: No machine-readable source provided. Own work assumed (based on copyright claims).
Author: No machine-readable author provided. ClemRutter assumed (based on copyright claims).
Usage Terms: Creative Commons Attribution-Share Alike 3.0
License: CC-BY-SA-3.0
License Link: http://creativecommons.org/licenses/by-sa/3.0/
Attribution Required?: Yes

The following page links to this image:

kids search engine