comp.lang.ada
 help / color / mirror / Atom feed
From: "Jamie" <j.couston@virgin.net>
Subject: incrementing characters
Date: 1998/07/08
Date: 1998-07-08T00:00:00+00:00	[thread overview]
Message-ID: <01bdaa89$e1084920$0a39a8c2@default> (raw)

Hi,

I'm new to Ada and would like a small problem solved if possible,

how can I increment the value of a character? If you know what I mean - if
character FIRST has the value 'A' how can I increment it so that its value
is now 'B' ?

I'm looking to do something like this,

character := character + offset

where offset is a constant integer.

Can anyone help???????

Cheers,

Jamie.

j.couston@virgin.net




             reply	other threads:[~1998-07-08  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-08  0:00 Jamie [this message]
1998-07-09  0:00 ` incrementing characters Dmitriy Anisimkov
1998-07-10  0:00 ` Pascal MALAISE
replies disabled

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