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,2a9db729f8141a43 X-Google-Attributes: gid103376,public From: Samuel Tardieu Subject: Re: Question about constants initialisation Date: 1996/04/24 Message-ID: #1/1 X-Deja-AN: 151192626 sender: tardieu@gargantua.enst.fr references: <4ll9vt$h70@cf01> to: pascal.obry@der.edfgdf.fr (Pascal Obry) content-type: text/plain; charset=iso-8859-1 organization: TELECOM Paris mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-04-24T00:00:00+00:00 List-Id: >>>>> "Pascal" == Pascal Obry writes: Pascal> I was wondering how to initialize the constant Null_Azerty in Pascal> the following piece of code. The following piece of code: with Ada.Strings.Unbounded; package Ess is use Ada.Strings.Unbounded; type Azerty is private; Null_Azerty : constant Azerty; private type Azerty is new Unbounded_String; Null_Azerty : constant Azerty := Azerty (Null_Unbounded_String); end Ess; works well with GNAT 3.03: % gcc -c -gnatv ess.ads GNAT Compiler Version 3.03 Copyright 1995 Free Software Foundation, Inc. Compiling: ess.ads (source file time stamp: 1996-04-24 15:23:29) 9 lines: No errors Sam -- "La cervelle des petits enfants, ca doit avoir comme un petit gout de noisette" Charles Baudelaire