comp.lang.ada
 help / color / mirror / Atom feed
* Questions on Ada...
@ 1989-06-29  3:33 Krishan M Nainani
  1989-07-03 13:51 ` arny.b.engelson
  1989-07-05 23:42 ` John Rogers
  0 siblings, 2 replies; 5+ messages in thread
From: Krishan M Nainani @ 1989-06-29  3:33 UTC (permalink / raw)



	I have just started learning Ada and have a few questions on it.

(1)	Is there any way to mimic the C pre-processor commands in Ada.
	For example, is it possible to mimic:
	#ifdef TEMP
	...
	#endif

(2)	Is it possible to copy sections of memory regardless of its
	contents from one type to another. For example, in C:

	atype : *ptr1; btype : *ptr2; /* atype and btype are different */
	for (i=0;i<123;i++)  *ptr1++ = *ptr2++; 


Thanx in advance.

Krishan Nainani.	reply-to: tfrancis@wpi.wpi.edu

Cheers !

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

end of thread, other threads:[~1989-07-11 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-06-29  3:33 Questions on Ada Krishan M Nainani
1989-07-03 13:51 ` arny.b.engelson
1989-07-06 19:02   ` Vladimir G. Ivanovic
1989-07-11 19:41     ` arny.b.engelson
1989-07-05 23:42 ` John Rogers

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