Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Nguyen-Dai Quy <DaiQuy.nguyen@ulg.ac.be>
Subject: shell function like ASCII & CHAR of Fortran77 ?
Date: 1998/12/29	[thread overview]
Message-ID: <3688D110.54ED9FFB@ulg.ac.be> (raw)

Hi,
I would like to look for a shell function (ksh). This function takes a single
character as argument, and returns an integer value. Like ASCII function in
Fortran77.
For example: ASCII("A")=65; ASCII("9")=57;...
And the reverse function (like CHAR of Fortran77) takes an integer argument and
returns a single character. For example : CHAR(65)=A
Thanks very much.
______________________________________________
 Nguyen-Dai Quy
 LTAS - M�canique de la Rupture, ULG.
 Rue Ernest Solvay 21, B�t C3, B 4000, Li�ge, Belgique
 T�l:+32-4-366.92.41	     Fax:+32-4-366.93.11
 http://isis.ltas.ulg.ac.be/dang/who/quy
_______________________________________________________



                 reply	other threads:[~1998-12-29  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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