comp.lang.ada
 help / color / mirror / Atom feed
* error with record
@ 1998-01-31  0:00 Dami�n Company
  1998-02-02  0:00 ` Stephen Leake
  0 siblings, 1 reply; 2+ messages in thread
From: Dami�n Company @ 1998-01-31  0:00 UTC (permalink / raw)



I've got a question about records if someone can help me. When I try to make
a call to a record type especifyed in a package the compiler tells me
something like:
                error with prefix in record type
or something like that.
Can't I call a record part (ex: r.t)from a program?

thanks






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

* Re: error with record
  1998-01-31  0:00 error with record Dami�n Company
@ 1998-02-02  0:00 ` Stephen Leake
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Leake @ 1998-02-02  0:00 UTC (permalink / raw)



Damián Company wrote:
> 
> I've got a question about records if someone can help me. When I try to make
> a call to a record type especifyed in a package the compiler tells me
> something like:
>                 error with prefix in record type
> or something like that.
> Can't I call a record part (ex: r.t)from a program?
> 
> thanks

A record is a data structure, not a function. You may be confusing C++
member functions with Ada record components.

Please post your code, so we can provide better help.
-- 
- Stephe




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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-31  0:00 error with record Dami�n Company
1998-02-02  0:00 ` Stephen Leake

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