comp.lang.ada
 help / color / mirror / Atom feed
From: Kendal Van Dyke <kendal@fn3.freenet.tlh.fl.us>
Subject: Re: Ada Java question  => clarification
Date: 1997/02/28
Date: 1997-02-28T00:00:00+00:00	[thread overview]
Message-ID: <33167E7E.4351@fn3.freenet.tlh.fl.us> (raw)
In-Reply-To: E69os4.B94.0.-s@inmet.camb.inmet.com


Ok, to provide more specific details as to my problem, here are the with
and use clauses that accompany the package that contains this function.
Again, when I try to compile it I get the error "Direct name, event, is
not visible".

----------------
with java.applet.applet; use java.applet.applet;

with java.lang.runnable; use java.lang.runnable;

with java.awt.event; use java.awt.event;

with java.lang.thread; use java.lang.thread;

with java.awt.component; use java.awt.component;

with java.awt.color; use java.awt.color;

with java.awt.graphics; use java.awt.graphics;

  function keyDown(obj : access tank_obj;

  		   e : event_ptr;

  		   key : Integer) return boolean is

  begin

    CASE key IS

      WHEN event.UP => return true;
      WHEN event.DOWN => return true;
      WHEN event.LEFT => return true;
      WHEN event.RIGHT => return true;
      WHEN Others => return true;
    end CASE;  

    return true;

  end keyDown;
------------------

Any ideas anyone?
-- 
    *.........................................*
    .                |/                       .
    .                |\ENDAL                  .
    . WWW   => http://www.cs.fsu.edu/~vandyke .
    . EMail => vandyke@cs.fsu.edu             .
    . Pager => (904) 297-6658                 .
    .                                         .
    *.........................................*




  reply	other threads:[~1997-02-28  0:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-26  0:00 Ada Java question Kendal Van Dyke
1997-02-27  0:00 ` Tucker Taft
1997-02-28  0:00   ` Kendal Van Dyke [this message]
1997-02-28  0:00     ` Ada Java question => clarification Tucker Taft
1997-02-28  0:00       ` Brad Balfour
1997-02-28  0:00         ` Ada Java question => oops!! Kendal Van Dyke
1997-02-28  0:00         ` Ada Java question => clarification Kendal Van Dyke
1997-02-28  0:00           ` Norman H. Cohen
1997-03-01  0:00             ` David Taylor
1997-03-02  0:00               ` Robert Dewar
1997-03-06  0:00                 ` David Taylor
1997-03-08  0:00                   ` tagged type auto-"Use", was " Tom Moran
1997-03-10  0:00                     ` Dennis Reimer
1997-03-09  0:00                   ` Robert Dewar
1997-03-09  0:00                     ` Larry Kilgallen
1997-03-09  0:00                       ` Robert Dewar
1997-03-15  0:00                         ` Matthew Heaney
1997-03-01  0:00           ` Fergus Henderson
1997-03-02  0:00         ` Robert Dewar
1997-03-03  0:00           ` Brad Balfour
1997-03-05  0:00             ` Robert Dewar
1997-03-05  0:00               ` Brad Balfour
1997-02-28  0:00 ` Ada Java question Tom Halliley
replies disabled

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