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

Home » Public Forums » archive » Re: Another small V8.0 bug
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: Another small V8.0 bug [message #71881 is a reply to message #71877] Mon, 26 July 2010 11:53 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jul 26, 3:44 pm, wlandsman <wlands...@gmail.com> wrote:
> which tells me right away that I am calling a function named OBJ_NEW()
> rather than subscripting an array.    But I don't believe that a =
> list( foo) will ever give an error, and it is only when trying to use
> the variable that one will encounter the (less obvious) error.

Indeed. Particularly so given the introduction of !null and that lists
can (and frequently need to) have !null elements, so even giving
list() an undefined variable is not an error:

IDL> a=list(some_undefined_name)
IDL> help,a
A LIST <ID=1 NELEMENTS=1>
IDL> print,a
!NULL
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: arbitrary precision in IDL?
Next Topic: Re: How to run a program for datasets located in different folders at a single stretch

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

Current Time: Fri Oct 10 07:00:09 PDT 2025

Total time taken to generate the page: 1.91382 seconds