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

2011-01-12 Thread tungsh
Thanks! It works on Window 7 with: gracket rocket.rkt Sho-Huan -Original message- From:Matthias Felleisen To:tun...@yuntech.edu.tw Cc:users Date:Tue, 11 Jan 2011 08:43:26 -0500 Subject:Re: [racket] Run rocket lunching program in HtDP2 from cammand line On my Mac, $ racket

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

2011-01-11 Thread Matthias Felleisen
On my Mac, $ racket rocket.rkt works just fine, though I will say I am surprised how long it takes to display the canvas. -- Matthias On Jan 10, 2011, at 10:20 PM, tungsh wrote: > > Is their a way to lunch the rocket in the following program > using command line? > ;; > ;; d:/animate

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

2011-01-11 Thread tungsh
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 cr