comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Hex to decimal???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Hex to decimal??? [message #8583] Tue, 01 April 1997 00:00 Go to previous message
sigut is currently offline  sigut
Messages: 12
Registered: February 1994
Junior Member
In article <5hbchs$gb7@maze.dpo.uab.edu> rkj@dukebar.crml.uab.edu
(R. Kyle Justice) writes:

: >For example, I would like to convert "'0E'X" to its decimal
: >equivalent.

: >FIX works fine for strings containing decimals (i.e '14')
: >but not hex strings.

WAVE> print,fix('0e'x)
14
WAVE>
Looks all right to me! (Wave 6)

: You might try READS.

I am using PV-Wave. READS must be an IDL function. What exactly
does it do?

READS reads the input from a string instead of a file:

READS, string, var1, var2 instead of READF, unit, var1, var2

This way you have a possibility to use the usual READing procedures
to interpret any strings that pass by.

Regards, George
--
------------------------------------------------------------ ------------------
George M.Sigut, ETH Informatikdienste, Anwenderunterstuetzung, CH-8092 Zurich
Swiss Federal Institute of Technology, Computing Services, User Support
email: sigut@awu.id.ethz.ch Phone: +41 1 632 5763 Fax: +41 1 632 1312
>>>>>>>>> in case of email problems send the mail to "sigut@acm.org" <<<<<<<<<
------------------------------------------------------------ ------------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: PostScript on large paper sizes
Next Topic: Hyperhelp on Linux

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:49:58 PDT 2025

Total time taken to generate the page: 1.43747 seconds