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

Home » Public Forums » archive » Re: Some special behaviour of ROUTINE_NAMES
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: Some special behaviour of ROUTINE_NAMES [message #19141] Mon, 28 February 2000 00:00 Go to previous message
Karsten Rodenacker is currently offline  Karsten Rodenacker
Messages: 98
Registered: July 1997
Member
Craig Markwardt schrieb:

> Karsten Rodenacker <rodena@gsf.de> writes:
>
>> Hallo IDL gurus,
>> did anybody remark the quite special behaviour of that undocumented
>> function ROUTINE_NAMES. Try to read with the idl macro import_image a
>> file beginning with a number. A structure is generated with a variable
>> name starting with a number, which is quite difficult to be accessed.
>> Doesn't that open a lot of new possibilities?
>
> I don't know what possibilities you are talking about :-), but you can
> make funny and illegal structures by yourself too. Amuse your
> friends.
>
> IDL Version 5.2.1 (linux x86). (c) 1999, Research Systems, Inc.
> IDL> foo = create_struct('1',1, '2',2)
> IDL> help, /struct, foo
> ** Structure <817fda4>, 2 tags, length=4, refs=1:
> 1 INT 1
> 2 INT 2
> IDL> print, foo.(0), foo.(1)
> 1 2
>
> But, as you can see, the elements can be accessed by using the
> array-like indexing of structure tags.

That does not meet the point. Show me how to create a variable beginning with
an number (access it). E.G. 1foo=create(...)!
Regards
--
Karsten Rodenacker ()
------------------------------------------------------------ -------------:-)
GSF - Forschungszentrum Institute of Biomathematics and Biometry
D-85758 Oberschleissheim Postfach 11 29
Tel: +49 89 31873401 | FAX: ...3369 | rodena@gsf.de | Karsten@Rodenacker.de
http://www.gsf.de/institute/ibb/Rodenacker/findex.html
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDLgrWindow (?) bug
Next Topic: object graphics colormap bug ?

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

Current Time: Sat Oct 11 06:40:54 PDT 2025

Total time taken to generate the page: 0.79989 seconds