[plt-scheme] Graphycs with Scheme

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Mar 16 16:20:39 EDT 2009

Have you tried "copterS.png". Filenames are strings (data) not  
identifiers in programming languages.


On Mar 16, 2009, at 11:43 AM, CHAMLY wrote:

> In fact, i am not using the World teachpack, I'm doing it directly  
> with #lang scheme/gui.
>
> Matthias It took me a while to understand your way ^^,  I could  
> used it with Fluxus for fun xD. But unfortunatly, Like i said  
> earlier i'm not using the World teachpack.
>
> My programme looks more like :
>
> ; ---MY WOLRD---:
> (define FRAME (new frame%....
>
> (define CANVAS (new canvas% (parent FRAME) ....
>
> ;----MY OBJECT----:
>
> (define copter% (class object%....
>
> (define HELI (new copter%))
>
>
> ; ---FOR my Mouse-event---:
>
> (define MY-CANVAS% (class canvas%  ...
>
>
>
> I have a problem importing my image... I saved it in the same  
> folder and i use:
> (define bitmap (make-object bitmap% copterS.png))
> And i have this error :
>
> expand: unbound identifier in module in: copterS.png
>
> Any Idea?
>
> Thx
>
> Marc
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.