comp.lang.ada
 help / color / mirror / Atom feed
From: dewarr@my-dejanews.com
Subject: Re: How to initiate part of a string?
Date: 1998/09/25
Date: 1998-09-25T00:00:00+00:00	[thread overview]
Message-ID: <6uevbf$nr4$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 360a8549.265252@SantaClara01.news.InterNex.Net

In article <360a8549.265252@SantaClara01.news.InterNex.Net>,
  tmoran@bix.com (Tom Moran) wrote:
> >Txt: String(1..100) := (28..31=>"abcd", Others=>' ');
> It looks nice, but it doesn't compile.


Clearly this is illegal, compare with the obviously legal

   Txt: String(1..100) := (28..31=>'x', Others=>' ');

Clearly these cannot both be type correct. If you expect
the top one to compile, you don't have a precise view of
what is going on semantically.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




  reply	other threads:[~1998-09-25  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-24  0:00 How to initiate part of a string? Hans Marqvardsen
1998-08-25  0:00 ` Tom Moran
1998-08-25  0:00   ` Samuel Tardieu
1998-08-26  0:00     ` Tom Moran
1998-08-26  0:00       ` Robert I. Eachus
1998-08-26  0:00         ` Tom Moran
1998-09-24  0:00           ` Bob Fletcher
1998-09-24  0:00             ` Tom Moran
1998-09-25  0:00               ` dewarr [this message]
1998-09-29  0:00                 ` Aidan Skinner
1998-09-19  0:00       ` dewarr
1998-08-25  0:00 ` Mark A Biggar
1998-08-26  0:00 ` Mats Weber
1998-08-26  0:00   ` Frank Ecke
1998-08-26  0:00 ` Frank Ecke
1998-08-26  0:00   ` Robert I. Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox