[racket] Antw:Re: multiple images problem

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Feb 23 14:00:26 EST 2012

I think possibly Roelof has added the HtDP image teachpack, not the
HtDP/2e image teachpack. :(

Robby

On Thu, Feb 23, 2012 at 12:58 PM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> The code was developed in BSL. You must have forgotten to copy and paste the require line.
>
>
> On Feb 23, 2012, at 1:52 PM, ROELOF WOBBEN wrote:
>
>>
>>
>> Op 23/02/12, Matthias Felleisen <matthias at ccs.neu.edu> schreef:
>>>
>>> Here is a high-riding American SUV, does this help?
>>>
>>>
>>> (require 2htdp/image)
>>>
>>> (define cab  (beside (rectangle 33 18 'solid 'red) (right-triangle 10 18 'solid 'red)))
>>> (define body (rectangle 100 30 'solid 'red))
>>> (define top  (above/align 'right cab body))
>>> (define tire (circle 15 'solid 'black))
>>> (define bot  (beside tire (rectangle 25 10 'solid 'white) tire))
>>>
>>> (above top bot)
>>>
>>>
>>>
>> When I try your example in the Beginng Student language with the Image teach packett I get this error :
>>
>> beside: this function is not defined
>>
>> Roelof
>>
>> ____________________
>>  Racket Users list:
>>  http://lists.racket-lang.org/users
>
>
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users


Posted on the users mailing list.