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,10ed08559aef1b44,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-01 06:28:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!lax.uu.net!sac.uu.net!news1.midco.net!reader.midco.net!not-for-mail From: jhuber@nlxcorp.ellsworth.com Subject: STATIC types in ADA? Newsgroups: comp.lang.ada X-Newsreader: Lotus Notes Release 5.0.5 September 22, 2000 X-MIMETrack: Serialize by Notes Client on Jeremy Huber/ELLSWORTH/SERVICES/EMPLOYEE/EDMS(Release 5.0.5 |September 22, 2000) at 03/01/2002 07:23:06 AM, Serialize complete at 03/01/2002 07:23:07 AM, Serialize by Notes Client on Jeremy Huber/ELLSWORTH/SERVICES/EMPLOYEE/EDMS(Release 5.0.5 |September 22, 2000) at 03/01/2002 07:23:07 AM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: 01 Mar 2002 14:27:35 GMT Message-ID: <3c7f8fd6$0$7055$43695faf@reader> NNTP-Posting-Host: 24.220.12.74 X-Trace: 1014992855 reader 7055 24.220.12.74 Xref: archiver1.google.com comp.lang.ada:20643 Date: 2002-03-01T14:27:35+00:00 List-Id: Do STATIC data types (like C++ has) exist in ADA? By this I mean, is there a way I can define a variable so that when I call a procedure and set a value (say 5.0) and then exit the procedure and come back into it at a later time, the variable would still have the same value (i.e., 5.0)? I think private is the closest thing I've found that will do it.