Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!m2c!wpi!wpi.wpi.edu!tfrancis From: tfrancis@wpi.wpi.edu (Krishan M Nainani) Newsgroups: comp.lang.ada Subject: Questions on Ada... Message-ID: <3034@wpi.wpi.edu> Date: 29 Jun 89 03:33:22 GMT Sender: tfrancis@wpi.wpi.edu Reply-To: tfrancis@wpi.wpi.edu (Krishan M Nainani) Distribution: usa Organization: Worcester Polytechnic Institute, Worcester, Mass. Lines: 21 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 !