From: "Pascal Obry" <p.obry@der.edf.fr>
Subject: Re: char -> int
Date: 1998/11/18
Date: 1998-11-18T00:00:00+00:00 [thread overview]
Message-ID: <72tu7q$h6s$1@cf01.edf.fr> (raw)
In-Reply-To: 36527480.5A60@usa.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
alex a �crit dans le message <36527480.5A60@usa.net>...
>How do I cast char to an int using ada?
What is a char and what is an int :-) ??
Maybe you wanted to talk about Character and Integer, in
this case :
C : Character;
I : Integer;
C := Character'Val (I);
I := Character'Pos (C);
Pascal.
next prev parent reply other threads:[~1998-11-18 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-18 0:00 char -> int alex
1998-11-18 0:00 ` Juergen Pfeifer
1998-11-22 0:00 ` Matthew Heaney
1998-11-24 0:00 ` John McCabe
1998-11-18 0:00 ` Pascal Obry [this message]
1998-11-18 0:00 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox