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

Home » Public Forums » archive » Re: ascii value of a char
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: ascii value of a char [message #52289] Mon, 22 January 2007 11:27
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
inisi writes:

> In IDL, how can I get the ascii value of a char ?

IDL> var = 'c'
IDL> print, byte(var)
99

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: Re: nicing idl at startup from idlwave
Next Topic: IDL with php

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

Current Time: Wed Oct 08 18:26:29 PDT 2025

Total time taken to generate the page: 0.00230 seconds