[racket] command line usage

From: zzbbaadd at aol.com (zzbbaadd at aol.com)
Date: Wed Feb 16 01:49:52 EST 2011


>> 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

OK, thanks, that works.

In some other code I saw this as the first line:


Just curious why that isn't 

#lang r6rs 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110216/88759abd/attachment.html>

Posted on the users mailing list.