[racket] Run rocket lunching program in HtDP2 from cammand line

From: tungsh (tungsh at yuntech.edu.tw)
Date: Mon Jan 10 22:20:37 EST 2011

Is their a way to lunch the rocket in the following program
using command line?
;; d:/animate.rkt
(require 2htdp/image)
(require 2htdp/universe)
(define rocket (bitmap "d:/rocket.png"))
(define (create-rocket-scene height)
    (place-image rocket 50 height (empty-scene 100 100)))
(animate create-rocket-scene)

I tried "Gracket.ext -f d:/animate.rkt" but nothing happen.



Posted on the users mailing list.