<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 8, 2013, at 10:26 PM, Steve Lett wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>I am a beginner programmer and just came across Racket this week when I was on the Coursera website. I found the course called Intro to Systematic Program Design. I am trying to use Stephen Bloch's Picturing Programs. But my first attempt was using Quick-An Introduction to Racket with Pictures. Typing 5 I got 5. Typing "art gallery" I got "art gallery". But when I typed (circle 10) I got an error message "circle: this function is not defined".</p><p>If I need a library there is a problem. My only internet conection is on the Android platform on a Galaxy Tab. So I have downloaded the DrRacket software and transferred it to my Windows Vista Laptop. I also have an XP desktop if I need it.</p><p>So how can I get (circle 10) to work?</p></blockquote>As others have already pointed out,</div><div><br></div><div>1) the "Quick" tutorial uses a slightly different language and library from the "Picturing Programs" book, which in turn uses a slightly different library from the "An Introduction to Systematic Program Design". The latter two are mostly compatible with one another, and were designed for beginning programmers, so I would suggest you use them.</div><div><br></div><div>2) chapter 0.3 of the _Picturing Programs_ textbook explains how to choose languages and invoke the relevant library.</div><div><br></div><div><br></div><div>As others haven't already pointed out,</div><div><br></div><div>3) the libraries you need for "Quick", or "Picturing Programs", or "An Introduction to Systematic Program Design", are already downloaded in the same bundle that brought you DrRacket; you don't need a net connection after this.</div><div><br></div><div>4) the 2htdp/image library used in "An Introduction to Systematic Program Design" is a subset of the picturing-programs library used in _Picturing Programs_, so if you follow the directions in chapter 0.3 of the book, all the examples in both the book and the MOOC should work.<br><br></div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Dr. Stephen Bloch</div><div>Math/CS Dept, Adelphi University</div><div><a href="mailto:sbloch@adelphi.edu">sbloch@adelphi.edu</a></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>