A
A
anyzeke2015-01-16 09:18:37
User interface
anyzeke, 2015-01-16 09:18:37

PLT_Scheme (Racket) Gui when compiling, in addition to the application window, the console also opens, how not to show it?

Help, when compiling a program through DrRacket, in addition to the GUI application itself, the console opens, how can I prevent it from appearing when the program starts?
Racket version - 6.1
The problem is under Windows only, in ubuntu, I compile indicating that the GRacket application, and everything is OK, only a gui opens.
Thank you.

#lang racket/gui ; A GUI guessing game
(define f (new frame% [label "Guess"]))
(define n (random 5))  (send f show #t)
(define ((check i) btn evt)
  (message-box "." (if (= i n) "Yes" "No")))
(for ([i (in-range 5)])
  (make-object button% (format "~a" i) f (check i)))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question