From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 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. List-Id: 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 !