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

Home » Public Forums » archive » Re: assign an octal number to a variable
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: assign an octal number to a variable [message #62966 is a reply to message #62879] Tue, 14 October 2008 08:29 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Oct 14, 1:53 am, "dux...@gmail.com" <dux...@gmail.com> wrote:
> I am looking for the method to assign a binary or hexadecimal  number
> (such as 1101011 or 8AE3) to a variable.

IDL> print, 'FF'x
255
IDL> print, '100'b
4
IDL> print, '77'o
63

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: HDF_VD_WRITE for string data
Next Topic: HDF_VD_WRITE for string data

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

Current Time: Sun Oct 12 06:05:48 PDT 2025

Total time taken to generate the page: 1.92299 seconds