From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4e180de737833224 X-Google-Attributes: gid103376,public From: Kendal Van Dyke Subject: Re: Ada Java question => clarification Date: 1997/02/28 Message-ID: <33167E7E.4351@fn3.freenet.tlh.fl.us>#1/1 X-Deja-AN: 222015833 References: <33150EBD.1467@fn3.freenet.tlh.fl.us> Organization: Florida State University Newsgroups: comp.lang.ada Date: 1997-02-28T00:00:00+00:00 List-Id: 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 . . . *.........................................*