hello. thank you for your kindness the following code (define-runtime-path here ".") (define here (bitmap (path->string (build-path here "run.bmp")))) doesn't work "the error saya module: duplicate definition for identifier in: here" so when I change the (define here ~ to (define hero ~ then another error apear says "initialization in bitmap% (datastring case): expects 3 arguments, given 2: #<void> unknown/mask"
can I have little bit more specify? every time I try to google with keyword scheme, weird result come out so it is hard to find solution 2010/10/9 Noel Welsh <noelwe...@gmail.com> > On Sat, Oct 9, 2010 at 2:40 AM, 김태윤 <kty1...@gmail.com> wrote: > > There is a transcription error. This > > > (define-runtime-path hero ".") > > should be > > (define-runtime-path here ".") > > here, not hero. We are defining a path called "here" that specifies > the path where the code is stored. I.e. here. > > > (define hero > > (bitmap > > (path->string (build-path 'same "run.bmp")))) > > When we build the path to run.bmp we want to use the path "here" we > defined above, so > > (build-path here "run.bmp") > > HTH, > N. >
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users