comp.lang.ada
 help / color / mirror / Atom feed
* Put the access value
@ 2020-04-14  7:15 ldries46
  2020-04-14  7:42 ` J-P. Rosen
  2020-04-14 11:05 ` Jeffrey R. Carter
  0 siblings, 2 replies; 17+ messages in thread
From: ldries46 @ 2020-04-14  7:15 UTC (permalink / raw)


I have a situation in which it is not practical to use the debugging  
possibilities of GNAT GPS. Instead I want to use the Put procedure to 
show certain values.
Normally that is no such a program with the Predifined Language 
attributes (mostly with the 'image attribute).
Now I have the following:

type Buffer_Pointer is limited private;

    type Block_Buffer is record
       nr       : integer;
       buf      : Item;
       previous : Buffer_Pointer := null;
       next     : Buffer_Pointer := null;
    end record;

       El  : Buffer_Pointer := LastBuffer;
       El1 : Buffer_Pointer;

I just want to see if the routing of thedifferent Buffer_Pointer's is 
correct so I thought Buffer_Pointer'Image(El) would show the value of 
The Pointer El f.i. ?x000000 for null or even the simpel decimal value 0.

This construction creates a failure during compiling.
Should I use another attribute or some other construction?

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

end of thread, other threads:[~2020-04-23 11:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14  7:15 Put the access value ldries46
2020-04-14  7:42 ` J-P. Rosen
2020-04-18 15:08   ` Oliver Kellogg
2020-04-20 23:02   ` Robert A Duff
2020-04-21  7:07     ` briot.emmanuel
2020-04-21 22:29       ` Robert A Duff
2020-04-14 11:05 ` Jeffrey R. Carter
2020-04-14 12:09   ` ldries46
2020-04-15  7:20     ` briot.emmanuel
2020-04-15  8:02       ` AdaMagica
2020-04-15  8:51         ` J-P. Rosen
2020-04-15 16:23           ` AdaMagica
2020-04-17 14:20         ` Björn Lundin
2020-04-21 21:06           ` Randy Brukardt
2020-04-22 12:31             ` Björn Lundin
2020-04-22 17:33               ` AdaMagica
2020-04-23 11:37                 ` Björn Lundin

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