comp.lang.ada
 help / color / mirror / Atom feed
From: Maxim Senin <maks@tech.swh.lv>
Subject: Naive question
Date: 1998/08/22
Date: 1998-08-22T00:00:00+00:00	[thread overview]
Message-ID: <35DF1997.3CB29CD6@tech.swh.lv> (raw)

How to assign value to integer like in C: int i = 'm';?

I tried
    i : Integer := Integer'Value ("m");
but it throws CONSTRAINT_ERROR.

Thanks





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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-22  0:00 Maxim Senin [this message]
1998-08-23  0:00 ` Naive question John Herro
1998-08-27  0:00 ` Steve Doiel
1998-09-19  0:00 ` Tom Moran
replies disabled

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