[racket] New turtle graphics package + a few questions
On Tue, Feb 19, 2013 at 6:00 AM, Daniel Prager
<daniel.a.prager at gmail.com> wrote:
>
>
> 1. Code organization:
>
> At the moment everything is dumped in one directory. My problem is that when I put -- for example -- an example in an /examples subdirectory and (require "../turtle-graphics.rkt") the line
>
> (define *turtle-image* (read-bitmap "turtle.png"))
>
> in turtle-graphics.rkt treats the subdirectory as the current directory rather than the parent directory, giving a file not found directory.
You want to use `define-runtime-path` here.
Sam