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

Home » Public Forums » archive » A Minor Addition to IDL Syntax
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
A Minor Addition to IDL Syntax [message #9397] Tue, 01 July 1997 00:00
martin is currently offline  martin
Messages: 18
Registered: January 1993
Junior Member
Hi,

Often I need to make variable length lists in IDL. To do this I like to
use the concatenate syntax. For example to put array y on the end of x I
use:

x=[x,y]

The problem with this is it fails if x is not defined. I think it would be
nice if when x is undefined then x=[x,y] automatically becomes x=y.
Can anyone think of a reason for not modifying IDL to allow this? Or is
there a better way to make lists?

Charles Martin,PhD
University of Texas
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Giant arrays!
Next Topic: Re: Clipping woes with hardware fonts...

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

Current Time: Wed Oct 08 19:48:17 PDT 2025

Total time taken to generate the page: 0.01213 seconds