Possibly you were printing something out? If you have expressions that
produce non-void results at the top of a "#lang racket" program, they
will print out, which can trigger creation of the console window.

Robby

On Sun, Nov 22, 2015 at 4:41 PM, Champignac <picadeli...@gmail.com> wrote:
> On Sunday, 22 November 2015 16:55:12 UTC-5, Markus Schmitt  wrote:
>> > I want to get rid of this console window.
>
>> In the "Create executable" dialog select "GRacket" as Base instead of 
>> "Racket". That way no console window pops up when you run the executable.
>
> I tried again as you suggest but this time I got the GRacket console instead.
>
> Then I had an idea, I put all my program inside a single function like:
>
> (define (main)
>   (all other functions))
>
> (main)   ; and call the main function
>
> And it works! No more console.
>
> But... I wonder if there is a simpler way then wrapping the whole program 
> inside a function like this?
>
> Getting closer! :)
>
> --
> 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