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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9c4622dc4c4e0179 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: C to Ada (static) Date: 1996/04/27 Message-ID: #1/1 X-Deja-AN: 151684369 references: <4lr2eq$o3c$1@mhadf.production.compuserve.com> <31816109.7D55368C@escmail.orl.mmc.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-04-27T00:00:00+00:00 List-Id: T.E.D said "Ada doesn't have anything like static variables. To get the same functionality, you will have to declare the variable globally somewhere visible to that routine. Example: package body My_Package is Number : Integer; procedure My_Procedure is begin ...series of statements... end My_Procedure; end My_Package;" That could confuse. Number is not a global variable in the normal sense, it is local to the package body and can be seen only from the package body.