comp.lang.ada
 help / color / mirror / Atom feed
* Program error from assignment??
@ 1998-07-21  0:00 dennison
  1998-07-22  0:00 ` dennison
  0 siblings, 1 reply; 16+ messages in thread
From: dennison @ 1998-07-21  0:00 UTC (permalink / raw)


OK. I give up.

I have the following code:

   type User_Interface_Link is access all User_Interface.Instance'Class;

   type Instance is new User_Interface.Instance with record
      Valid         : Boolean := False;
      Backup        : User_Interface_Link;
   end record;
   .
   .
   .
   procedure Set_Backup (Interface : in out Instance;
                         Backup    : access User_Interface.Instance'Class) is
   begin
      Interface.Valid := True;
      Interface.Backup := User_Interface_Link(Backup);
   end Set_Backup;


The problem is that I'm getting a Program_Error on the second assignment at
runtime. What could cause that?

T.E.D.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~1998-07-24  0:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-21  0:00 Program error from assignment?? dennison
1998-07-22  0:00 ` dennison
1998-07-22  0:00   ` Robert Dewar
1998-07-22  0:00   ` dennison
1998-07-23  0:00     ` Tucker Taft
1998-07-23  0:00     ` Robert Dewar
1998-07-22  0:00   ` David C. Hoos, Sr.
1998-07-22  0:00   ` Stephen Leake
1998-07-22  0:00     ` dennison
1998-07-22  0:00   ` Jean-Pierre Rosen
1998-07-22  0:00     ` dennison
1998-07-23  0:00       ` Jean-Pierre Rosen
1998-07-24  0:00         ` tedennison
1998-07-23  0:00       ` Robert Dewar
1998-07-23  0:00         ` dennison
1998-07-23  0:00   ` Dale Stanbrough

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