comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Problems with the "mwindows" switch
Date: Sat, 23 May 2015 13:23:45 -0700 (PDT)
Date: 2015-05-23T13:23:45-07:00	[thread overview]
Message-ID: <b69ed49c-391e-4c75-92cc-ca92e9ddbac7@googlegroups.com> (raw)
In-Reply-To: <df2d79a4-b792-49f4-b941-712772dee4e9@googlegroups.com>

Le vendredi 22 mai 2015 20:35:59 UTC+2, NiGHTS a écrit :

> Unfortunately when the "mwindows" flag is set not only does the GUI not appear as expected, but I don't get any feedback on the command console either. It makes me think that there is something fundamentally broken with the executable itself.

It is an unfortunately normal behavior. Each console output when there is not console due to -mwindows will stop the program...
So you need to remove all you put's or put_line's or frame them inside a condition.

if trace then
  put(...);
en if;

_________________________ 
Gautier's Ada programming 
http://gautiersblog.blogspot.com/search/label/Ada 
NB: follow the above link for a valid e-mail address 

  parent reply	other threads:[~2015-05-23 20:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22 18:35 Problems with the "mwindows" switch NiGHTS
2015-05-22 19:24 ` sbelmont700
2015-05-22 19:51   ` NiGHTS
2015-05-23  5:33     ` Dmitry A. Kazakov
2015-05-23  7:20       ` NiGHTS
2015-05-23  8:06         ` Dmitry A. Kazakov
2015-05-28 22:19   ` Randy Brukardt
2015-05-28 23:49     ` sbelmont700
2015-05-29 21:24       ` Randy Brukardt
2015-05-29 21:36         ` Jeffrey R. Carter
2015-05-29 22:10           ` Simon Wright
2015-05-30  0:08           ` Dennis Lee Bieber
2015-06-01 21:24           ` Randy Brukardt
2015-06-01 23:12             ` sbelmont700
2015-05-29 11:00     ` Björn Lundin
2015-05-23 20:23 ` gautier_niouzes [this message]
2015-06-02 22:33   ` NiGHTS
2015-06-03  6:42     ` Simon Wright
2015-06-03  8:27       ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox