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 
Switch to threaded view of this topic 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 next 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.
Re: Getting back on the coding horse - does anyone have any idea why IDL gives syntax errors on compile here? [message #94757 is a reply to message #94756] Thu, 28 September 2017 22:02 Go to previous message
Peter Thorne is currently offline  Peter Thorne
Messages: 13
Registered: October 2000
Junior Member
As I said ... it's been a while. :-s

That fixed it. Thanks for taking the time.
  Switch to threaded view of this topic Create a new topic Submit Reply
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 05:16:04 PDT 2025

Total time taken to generate the page: 0.00484 seconds