comp.lang.ada
 help / color / mirror / Atom feed
* type conversion ?
@ 1986-11-11  4:19 Doug Bryan
  0 siblings, 0 replies; only message in thread
From: Doug Bryan @ 1986-11-11  4:19 UTC (permalink / raw)


Hi all,

Is the following valid?  If so, which syntagma takes care of the following
two expressions?

	Rec (R)
	String (N)	

doug
--------

procedure Type_Conversion is
   type Rec is record
      I : Integer; F : Float;
   end record;
   N : String (1 .. 10) := (others => ' ');
   R : Rec := (1, 2.2);
   I : Integer; 
   C : Character;
begin
   I := Rec (R).I;
   C := String (N) (2);
end Type_Conversion;
-------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1986-11-11  4:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-11-11  4:19 type conversion ? Doug Bryan

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