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

Home » Public Forums » archive » Getting back on the coding horse - does anyone have any idea why IDL gives syntax errors on compile here?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Getting back on the coding horse - does anyone have any idea why IDL gives syntax errors on compile here? [message #94756] Thu, 28 September 2017 14:43 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
I think that you should update your code. IDL has abandoned round parenthesis for arrays ages ago. Try dropping those round ones for square ones:
myArray[pos] = ...
That should bring you a step further. If not, let us know...

Cheers, Helder

PS: round parenthesis are used for functions, so compile and programmers tend to get confused. That's why things should be kept like () for functions and [] for array indexing. Check the IDL help for compiler options.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Getting back on the coding horse - does anyone have any idea why IDL gives syntax errors on compile here?
Next Topic: How I can save data at XY location

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

Current Time: Wed Oct 08 11:54:51 PDT 2025

Total time taken to generate the page: 0.00452 seconds