Now that is doubly weird: 

When I copy your expression to DrRacket and omit the #lang line, DrRacket warns 
me with 
a big fat red warning in the status line: 

 unsaved editor:3:0: Module Language: only a module expression is allowed, 
either #lang <language-name> 
 or (module <name> <language> ...)  in: (define out (open-output-file 
"some-file”))

When I run the program I get an even fatter warning: 

Welcome to DrRacket, version 6.5.0.3--2016-04-18(-/f) [3m].
Language: Determine language from source.
. Module Language: only a module expression is allowed, either
    #lang <language-name>
 or
    (module <name> <language> ...)
 in: (define out (open-output-file "some-file"))

What version of DrRacket are you using that does not warn you? (We need to 
chase down the bug and fix it.) 




> On Apr 20, 2016, at 5:45 PM, George Mitwasi <mitwasi.geo...@gmail.com> wrote:
> 
> That did the trick. DrRacket didn't warn me and I've never needed #lang 
> racket before. The more you know. Thanks again.
> 
> - George
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to