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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5d38b71c771be34e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-12 20:01:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!17b0e3b3!not-for-mail User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Subject: Re: Unchecked Deallocation? From: "R. Tim Coslet" Newsgroups: comp.lang.ada Message-ID: References: <_YIX8.483917$352.79617@sccrnsc02> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit NNTP-Posting-Host: 206.170.2.188 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr13.news.prodigy.com 1026529206 ST000 206.170.2.188 (Fri, 12 Jul 2002 23:00:06 EDT) NNTP-Posting-Date: Fri, 12 Jul 2002 23:00:06 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: Q[R_@SNGAZVMR_XXKBNDM^P@VZ\LPCXLLBWLOOAFEQR@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM Date: Sat, 13 Jul 2002 03:00:06 GMT Xref: archiver1.google.com comp.lang.ada:27040 Date: 2002-07-13T03:00:06+00:00 List-Id: Think of Procedures as "Commands": they do things and can change the state of variables. Think of Functions as "Queries": they calculate and look up things, but are not allowed to change the state of variables. That slightly oversimplifies it, but it is the "basic" difference between the two in Ada. -- R. Tim Coslet r_tim_coslet@pacbell.net Technology, n. Domesticated natural phenomena. > From: Caffeine Junky > Organization: AT&T Broadband > Newsgroups: comp.lang.ada > Date: Sat, 13 Jul 2002 00:52:34 GMT > Subject: Re: Unchecked Deallocation? > > > I seem to have an affinity for functions, and I dont know why. Any > rules of thumb on when it's a good idea to (use/not use) > functions and procedures in Ada95?