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 #62884 is a reply to message #62879] Mon, 13 October 2008 16:09 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
duxiyu@gmail.com writes:

> I found a method to assign an octal number to a variable.
>
> For example,
> a="30
> print,a
> It seems that the double quotation mark befroe the number can indicate
> this number is octal value.
> But I do not find its detailed directions in IDL help.
>
> In the similar way, which symbol can indicate the binary and
> hexadecimal number?

I hate to mention it, but I spent quite a bit of time putting
a search engine on Coyote's Guide to IDL Programming for just
this purpose. :-)

http://www.dfanning.com/misc_tips/binary_hex.html

If you want to see where octal (and hexadecimal) numbers
are defined, something like "octal" in the on-line help
index works pretty well.

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
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 09:51:05 PDT 2025

Total time taken to generate the page: 2.15991 seconds