comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Good Ada Style For Impossible Actions?
Date: Mon, 28 Oct 2002 17:33:58 GMT
Date: 2002-10-28T17:33:58+00:00	[thread overview]
Message-ID: <ayev9.145220$%d2.51924@sccrnsc01> (raw)
In-Reply-To: 3DBD7066.1040205@acm.org

A mouse outside a particular screen area is not an impossible action.
What should your particular program that is asking for mouse position do
in that case?  Is this an error - the program shouldn't be asking about
position in those circumstances?  Is it OK, and the legitimate space of
mouse positions for that program consists of the set of points inside the
rectangle, plus the single "outside the rectangle" 'point'?  Perhaps the
program should simply go dormant, ie the Ask_Position function shouldn't
return, until the mouse moves into its window area?



  reply	other threads:[~2002-10-28 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-26 15:59 Good Ada Style For Impossible Actions? Dr Nancy's Sweetie
2002-10-26 21:11 ` Jeffrey Carter
2002-10-28  3:52   ` Dr Nancy's Sweetie
2002-10-28 17:13     ` Jeffrey Carter
2002-10-28 17:33       ` tmoran [this message]
2002-10-29  1:35         ` Dr Nancy's Sweetie
2002-10-28 17:52       ` Warren W. Gay VE3WWG
replies disabled

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