[racket] Antw:Re: multiple images problem

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu Feb 23 13:58:10 EST 2012

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



Posted on the users mailing list.