comp.lang.ada
 help / color / mirror / Atom feed
From: newsflash.concordia.ca!sifon!christie.Meakins.McGill.CA!whitney@uunet.uu. net  (Whitney de Vries)
Subject: Type-Extension and Procedure Variables
Date: 9 Aug 93 01:58:30 GMT	[thread overview]
Message-ID: <1993Aug9.015830.2453@sifon.cc.mcgill.ca> (raw)

	    

Does ADA ( 8x or 9x ) have procedure variables or similar ?
Does ADA ( 8x or 9x ) have type extension or similar ?	
  
TYPE	
	BaseType = RECORD  
		x,y : INTEGER;
	END;	   
		    
	ExtendedType = RECORD ( BaseType )       
		z : INTEGER;
	END; (* an extension of BaseType with fields x,y,z *)
	
	Handler = PROCEDURE ( VAR msg : BaseType ); (* PROCEDURE TYPE *)
	
VAR 
	handler : Handler; (* procedure variable *)
	
									
	
Thanks,
	Whitney

             reply	other threads:[~1993-08-09  1:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-09  1:58 Whitney de Vries [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-08-09  2:37 Type-Extension and Procedure Variables Kenneth Anderson
replies disabled

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