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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2e2f8b6578a7759,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-21 15:02:15 PST From: "Daniel Sch�le" Newsgroups: comp.lang.ada Subject: some simple questions Date: Fri, 21 Feb 2003 23:56:39 +0100 Organization: University of Karlsruhe, Germany Message-ID: NNTP-Posting-Host: srv-vpn1b-010.rz.uni-karlsruhe.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.rz.uni-karlsruhe.de 1045868534 25618 172.21.41.10 X-Complaints-To: usenet@rz.uni-karlsruhe.de X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!feed.news.nacamar.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail Xref: archiver1.google.com comp.lang.ada:34405 Date: 2003-02-21T23:56:39+01:00 List-Id: Hi all I am learning Ada on doing I have found some small examples on web and now I'm trying to put the mosaic stones together my questions are given type pint is access integer; pi: pint:=new integer; how do I delete the allocated object? free(pi); --doesn't work (I'm pretty sure Ada doesn't have Garabge Collector) is there a syntax available to initialize allocated object (like in C++)? int * pi=new int(0); now I am doing that this way pi.all:=0; what is the proper way to assure that pointer points to valid object? and last one what's "std::system("clear");" translated to Ada (OS Linux) sorry if it's faq Thanks Daniel