[racket] command line usage

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Feb 15 06:54:27 EST 2011

Four minutes ago, zzbbaadd at aol.com wrote:
> 
> If I try and run it with racket --script print_date.rkt
> 
> I get no output, and no error.
> 
> If I remove the #lang racket line, I will get output from a command
> line invocation.
> 
> How would I run the code from the command line, with the #lang line left in?

Just drop the flag: racket print_date.rkt

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.