[racket] Antw:Re: Antw:Re: multiple images problem

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

Remove the teachpacks (via the menu). Then use Matthias's code (all of
it, including the first line).

Robby

On Thu, Feb 23, 2012 at 1:18 PM, ROELOF WOBBEN <r.wobben at home.nl> wrote:
> I have added the image.ss teachpack.
> I have no clue how the 2e image teachpack is named in Dr Racket 2.5.1.
>
> Roelof
>
>
> Op 23/02/12, Robby Findler <robby at eecs.northwestern.edu> schreef:
>
> 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
>
>
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users
>


Posted on the users mailing list.