comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado Alves <amado.alves@netcabo.pt>
To: comp.lang.ada@ada-france.org
Subject: Re: questions from a newbie
Date: Thu, 15 Jul 2004 14:35:26 +0100
Date: 2004-07-15T14:35:26+01:00	[thread overview]
Message-ID: <mailman.22.1089898545.416.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <40f684a8@dnews.tpgi.com.au>

> words(15)(index):="K";
> 
> why is this so? I get a "Type mismatch in assignment statement, continuing"
> error. It does however work when I use words(15)(index):='K'. The rational
> behind this is that (index..index) represents a range - hence a string -
> whereas (index) represents a single character?

Yes. 'K'. Single quotes.




  reply	other threads:[~2004-07-15 13:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 13:20 questions from a newbie zork
2004-07-15 13:35 ` Marius Amado Alves [this message]
2004-07-15 13:45 ` Steve
2004-07-15 14:44 ` Georg Bauhaus
2004-07-15 15:09 ` Jacob Sparre Andersen
2004-07-15 15:52   ` zork
replies disabled

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