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,af5bf4e3cf0c28b8,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-30 06:04:32 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.mi.home.com.POSTED!not-for-mail From: "McDoobie" Subject: Cannot use NULL as identifier? Newsgroups: comp.lang.ada Organization: Caffinated Corps User-Agent: Pan/0.8.1beta4 (Unix) X-No-Productlinks: Yes Message-ID: Date: Wed, 30 May 2001 13:04:32 GMT NNTP-Posting-Host: 24.0.109.49 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.mi.home.com 991227872 24.0.109.49 (Wed, 30 May 2001 06:04:32 PDT) NNTP-Posting-Date: Wed, 30 May 2001 06:04:32 PDT Xref: archiver1.google.com comp.lang.ada:7869 Date: 2001-05-30T13:04:32+00:00 List-Id: I've written a small program that parses the contents of different directories and searches for duplicate files. I have an assignment that reads FilePath : constant string := "tesfile.xxx" & ASCII.NULL; Now, the GNAT compiler on Linux gives me the error "reserved word NULL cannot be used as identifier " Now, I'm using the text_io and gnat.os_lib libraries to compile this, so I'm assuming that os_lib makes an allowance for this. However, I could be mistaken. I ripped the above code fragement from a website, and the website (the Big Book of Linux Ada programming) doesnt appear to indicate that theres a problem with this. (Of course I probably overlooked something.) I'm also searching through "Programming in Ada95"(Barnes) trying to find info on this error. Any tips or pointers would be helpful. Thanks. McDoobie Chris@dont.spam.me