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

Home » Public Forums » archive » Re: create_struct problem
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: create_struct problem [message #34341 is a reply to message #34339] Wed, 05 March 2003 00:58 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
David Fanning <david@dfanning.com> writes:

> Reimar Bauer (R.Bauer@fz-juelich.de) writes:
>
>> where is described this behaviour in idl5.6
>>
>> x=create_struct('case',1)
>> % CREATE_STRUCT: Illegal tag name: case.
>> % Execution halted at: $MAIN$
>>
>>
>> in 5.5 it was no problem
>>
>> It looks like no controll statement works
>
> Well, hooray! It looks like the sheriff is
> finally going to enforce the reserved word
> prohibition. Guess we will all have to clean
> up our language or end up in the slammer. :-)

This, I have no problem with. Creating a structure with a reserved
word is almost like creating a structure that can't be used.

It's nowhere like ATAN which had a working behavior before the sheriff
changed it :-)

This new tag-name prohibition might have subtle effects. For example,
I think MRDFITS reads a FITS table into a structure with fields named
according to the FITS column name. If the column is named 'FOR' or
'BEGIN', then you are sunk?

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Old log_log plot question ...
Next Topic: Re: Old log_log plot question ...

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

Current Time: Wed Oct 08 13:38:50 PDT 2025

Total time taken to generate the page: 0.00421 seconds