Numeric Alpha numeric variables

Numeric Alpha numeric variables

Post by Lionel Pag » Sat, 22 May 2004 07:48:12


Hi,

How to change numeric variables into alpha numeric ones ? I only know the
input function to do the contrary.

Thanks

Lionel
 
 
 

Numeric Alpha numeric variables

Post by JackHamilt » Sat, 22 May 2004 07:48:18

Use the PUT function.



Hi,

How to change numeric variables into alpha numeric ones ? I only know
the
input function to do the contrary.

Thanks

Lionel

 
 
 

Numeric Alpha numeric variables

Post by rjf2 » Sat, 22 May 2004 21:55:44

> From: Lionel Page [mailto: XXXX@XXXXX.COM ]

keep reading until you come to the put function

CharVar = put(NumVar,NumFmt.);

examine the formats z8. which returns leading zero
and hex8. which returns hex meaning digits and A:F

Ron Fehd the macro maven CDC Atlanta GA USA XXXX@XXXXX.COM

RTFM: I'm an engineer, I don't get paid to know,
I get paid to know where to look it up.
RTFM: Read The Finite Manual.
 
 
 

Numeric Alpha numeric variables

Post by Howard_Sch » Sun, 23 May 2004 23:34:42

Yes. Read.

Sometimes it's hard to find the right page to read. One almost has to know
the answer to find the answer. Sometimes the solution to a problem involves
synthesis of two or more features.

In this case, the INPUT function was familiar, and the documentation of the
INPUT function has a cross reference to the PUT function. Not hard at all.

On Fri, 21 May 2004 08:55:44 -0400, Fehd, Ronald J. (PHPPO) < XXXX@XXXXX.COM >