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

Home » Public Forums » archive » Re: Format codes in IDL
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: Format codes in IDL [message #31071] Tue, 18 June 2002 12:59 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
astib@cc.usu.edu (Asti Bhatt) writes:

> Hi everybody,

> I am having a problem applying format codes to 'NaN', i.e.
> !VALUES.F_NAN. When I try to assign this value to some variable and
> read it from the command line in Macintosh and Linux, it gives me
> error that 'Format code ... cannot be applied to 'variable'. It gives
> it for all format codes. The interesting thing is, I have one such
> statement in my code, it runs okay under Linux machine, but crashes
> under Macintosh. I do not understand this. If anybody has got any
> experience regarding the same and would help me, I would appreciate
> that.

I'm not sure what you mean. Do you mean that if you do something like

IDL> a = !values.f_nan
idl> READ, prompt='Input A: ', a, format='(F10.7)'

that it will cause an error?

Bill Thompson
[Message index]
 
Read Message
Read Message
Previous Topic: Format Codes in IDL 5.2
Next Topic: Re: Multiple journal files on linux

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

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

Total time taken to generate the page: 0.00463 seconds