From: tfrancis@wpi.wpi.edu (Krishan M Nainani)
Subject: Questions on Ada...
Date: 29 Jun 89 03:33:22 GMT [thread overview]
Message-ID: <3034@wpi.wpi.edu> (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 !
next reply other threads:[~1989-06-29 3:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1989-06-29 3:33 Krishan M Nainani [this message]
1989-07-03 13:51 ` Questions on Ada 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox