[racket] New turtle graphics package + a few questions

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Feb 19 08:13:11 EST 2013

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.


Posted on the users mailing list.